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 <[EMAIL PROTECTED]>
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!
pgpi3NudQy7wX.pgp
Description: PGP signature
_______________________________________________ Grub-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/grub-devel
