All of lore.kernel.org
 help / color / mirror / Atom feed
* symbol.h fix for ARM
@ 2005-11-13 19:15 Timothy Baldwin
  2005-11-13 21:04 ` Marco Gerards
  0 siblings, 1 reply; 4+ messages in thread
From: Timothy Baldwin @ 2005-11-13 19:15 UTC (permalink / raw)
  To: grub-devel

[-- Attachment #1: Type: text/plain, Size: 1286 bytes --]

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  <T.E.Baldwin99@members.leeds.ac.uk>

        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!

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-11-13 21:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-13 19:15 symbol.h fix for ARM Timothy Baldwin
2005-11-13 21:04 ` Marco Gerards
2005-11-13 21:24   ` Timothy Baldwin
2005-11-13 21:32     ` Marco Gerards

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.