gcc2 is stupid. $ is not a valid character.
This commit is contained in:
parent
2d9e402c19
commit
e161e95e59
@ -1,6 +1,6 @@
|
||||
$OpenBSD: patch-src_runtime_include_asm-base_h,v 1.3 2004/01/04 17:27:56 espie Exp $
|
||||
$OpenBSD: patch-src_runtime_include_asm-base_h,v 1.4 2004/01/11 01:02:46 espie Exp $
|
||||
--- src/runtime/include/asm-base.h.orig 1999-12-03 20:59:31.000000000 +0100
|
||||
+++ src/runtime/include/asm-base.h 2004-01-04 18:19:22.000000000 +0100
|
||||
+++ src/runtime/include/asm-base.h 2004-01-11 01:58:50.000000000 +0100
|
||||
@@ -16,7 +16,7 @@
|
||||
#define FALSE 0
|
||||
#define TRUE 1
|
||||
@ -10,14 +10,18 @@ $OpenBSD: patch-src_runtime_include_asm-base_h,v 1.3 2004/01/04 17:27:56 espie E
|
||||
# define GLOBALS_HAVE_UNDERSCORE
|
||||
#endif
|
||||
|
||||
@@ -122,8 +122,8 @@
|
||||
@@ -122,8 +122,12 @@
|
||||
# define WORD(W) WORD32(W)
|
||||
# else
|
||||
# define GLOBAL(ID) .globl CSYM(ID)
|
||||
-# define LABEL(ID) CONCAT(ID,:)
|
||||
-# define IMMED(ID) CONCAT($,ID)
|
||||
+# define LABEL(ID) ID:
|
||||
+# define IMMED(ID) $ID
|
||||
+# if defined(__GNUC__) && __GNUC__ <= 2
|
||||
+# define IMMED(ID) CONCAT($, ID)
|
||||
+# else
|
||||
+# define IMMED(ID) $ID
|
||||
+# endif
|
||||
# define ALIGN4 .align 2
|
||||
# define WORD(W) .word W
|
||||
# define TEXT .text
|
||||
|
Loading…
x
Reference in New Issue
Block a user