diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2000-06-10 11:47:53 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2000-06-10 11:47:53 +0000 |
commit | bba12a994e7e8179e29a971281d479e7b217f8c9 (patch) | |
tree | 983ef41501f09275077f7ff82f28c22cd651cc4d /chinese/big5con | |
parent | b26dd5950574d14391df59964ccdbdcd9c316eb7 (diff) | |
download | ports-bba12a994e7e8179e29a971281d479e7b217f8c9.tar.gz ports-bba12a994e7e8179e29a971281d479e7b217f8c9.zip |
Notes
Diffstat (limited to 'chinese/big5con')
-rw-r--r-- | chinese/big5con/files/patch-af | 29 |
1 files changed, 21 insertions, 8 deletions
diff --git a/chinese/big5con/files/patch-af b/chinese/big5con/files/patch-af index a97f08f5bf1e..4e38a264b1e1 100644 --- a/chinese/big5con/files/patch-af +++ b/chinese/big5con/files/patch-af @@ -1,24 +1,37 @@ ---- src/vc.c.old Tue Jan 25 20:16:57 2000 -+++ src/vc.c Tue Jan 25 20:32:35 2000 -@@ -100,8 +100,8 @@ +--- src/vc.c.orig Mon Apr 15 09:46:27 1996 ++++ src/vc.c Sat Jun 10 19:40:19 2000 +@@ -92,28 +92,26 @@ + inline void blatch(void *head, int n) + { + +- __asm__("\t clc\n" ++ __asm__ volatile("\t clc\n" + "1:\n" "\t andb %%bl, (%%eax)\n" "\t incl %%eax\n" "\t loop 1b\n" - : - : "eax" ((long)head), "bl" (0x7F), "c" (n) +- : "bl", "cx" ); + : "=bl" (head), "=c" (n) -+ : "eax" ((long)head), "0" (0x7F), "1" (n) - : "bl", "cx" ); ++ : "eax" ((long)head), "0" (0x7F), "1" (n)); } -@@ -114,8 +114,8 @@ + static + inline void llatch(void *head, int n) + { + +- __asm__("\t clc\n" ++ __asm__ volatile ("\t clc\n" + "1:\n" "\t andl %%ebx, (%%eax)\n" "\t addl $4, %%eax\n" "\t loop 1b\n" - : - : "eax" ((long)head), "ebx" (0x7F7F7F7F), "c" (n>>2) +- : "ebx", "cx" ); + : "=ebx" (head), "=c" (n) -+ : "eax" ((long)head), "0" (0x7F7F7F7F), "1" (n>>2) - : "ebx", "cx" ); ++ : "eax" ((long)head), "0" (0x7F7F7F7F), "1" (n>>2)); } + static inline u_int TextAddress(u_int x, u_int y) |