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:
parent
9ca6284331
commit
be3c9ca7cb
3 changed files with 43 additions and 32 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue