summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>1999-11-10 16:54:10 +0000
committerthorpej <thorpej@NetBSD.org>1999-11-10 16:54:10 +0000
commitef9b07e05682e71fa73f767466ee0a8092ee3ec7 (patch)
tree8bfbd17f0ec3bf7c18faa2b81972b86980f6de25 /gnu/usr.bin
parent536f716be9e06aa99f6762c0dd2d2ad8dd42a878 (diff)
Add register prefixes.
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/gzip/match.S8
1 files changed, 6 insertions, 2 deletions
diff --git a/gnu/usr.bin/gzip/match.S b/gnu/usr.bin/gzip/match.S
index da0e0871b6b..ad9b1f686e5 100644
--- a/gnu/usr.bin/gzip/match.S
+++ b/gnu/usr.bin/gzip/match.S
@@ -9,7 +9,7 @@
* Kristoffer Eriksson <ske@pkmab.se>
*/
-/* $Id: match.S,v 1.6 1993/12/08 21:31:59 mycroft Exp $ */
+/* $Id: match.S,v 1.7 1999/11/10 16:54:10 thorpej Exp $ */
/* Preprocess with -DNO_UNDERLINE if your C compiler does not prefix
* external symbols with an underline character '_'.
@@ -221,7 +221,11 @@ maxmatch:
# else
# define imm(data) \#data
# endif
-# define reg(register) register
+# if defined(__NetBSD__)
+# define reg(register) %register
+# else
+# define reg(register) register
+# endif
# define blos bcss
# if defined(sun) || defined(mc68k) || defined(__NetBSD__)