[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
symbol.h fix for ARM
From: |
Timothy Baldwin |
Subject: |
symbol.h fix for ARM |
Date: |
Sun, 13 Nov 2005 19:15:11 +0000 |
User-agent: |
KMail/1.8.2 |
In ARM GAS syntax "@" marks the start of comment, which breaks symbol.h. I
choose
double quotes as a replacement as they can't be used to start comments.
2005-11-13 Timothy Baldwin <address@hidden>
Fix symbol.h for ARM.
* include/grub/symbol.h: (FUNCTION): Use double quotes
instead of "@" which marks the start of a comment on ARM.
(VARIABLE): Likewise.
diff -purN -x '*.mk' -x '*~' -x autom4te.cache -x configure -x '.#*' -x
'*.orig' -x '*.rej' -x CVS grub2-split1/include/grub/symbol.h
grub2-split2/include/grub/symbol.h
--- grub2-split1/include/grub/symbol.h 2004-04-04 14:46:00.000000000 +0100
+++ grub2-split2/include/grub/symbol.h 2005-10-22 20:25:44.000000000 +0100
@@ -29,8 +29,8 @@
# define EXT_C(sym) sym
#endif
-#define FUNCTION(x) .globl EXT_C(x) ; .type EXT_C(x), @function ; EXT_C(x):
-#define VARIABLE(x) .globl EXT_C(x) ; .type EXT_C(x), @object ; EXT_C(x):
+#define FUNCTION(x) .globl EXT_C(x) ; .type EXT_C(x), "function" ; EXT_C(x):
+#define VARIABLE(x) .globl EXT_C(x) ; .type EXT_C(x), "object" ; EXT_C(x):
/* Mark an exported symbol. */
#define EXPORT_FUNC(x) x
--
Member AFFS, WYLUG, SWP (UK), UAF, RESPECT, StWC
No to software patents! Victory to the iraqi resistance!
pgpx2J31Dg6bw.pgp
Description: PGP signature
- symbol.h fix for ARM,
Timothy Baldwin <=