2009-08-13 Yves Blusseau <blusseau@zetam.org>

* include/grub/symbol.h: Add the LOCAL macro.
	* boot/i386/pc/boot.S: Use the LOCAL macro for all labels
	starting with "L_".
This commit is contained in:
proski 2009-08-13 06:09:39 +00:00
parent 9ca6284331
commit be3c9ca7cb
3 changed files with 43 additions and 32 deletions

View file

@ -21,6 +21,9 @@
#include <config.h>
/* Apple assembler requires local labels to start with a capital L */
#define LOCAL(sym) L_ ## sym
/* Add an underscore to a C symbol in assembler code if needed. */
#ifdef HAVE_ASM_USCORE
# define EXT_C(sym) _ ## sym