2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
Definitions for creating asm symbols with Apple's CC * include/grub/symbol.h [APPLE_CC] (FUNCTION): new macro [APPLE_CC] (VARIABLE): likewise
This commit is contained in:
parent
9dbf765337
commit
ede21d7148
2 changed files with 11 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
Definitions for creating asm symbols with Apple's CC
|
||||||
|
|
||||||
|
* include/grub/symbol.h [APPLE_CC] (FUNCTION): new macro
|
||||||
|
[APPLE_CC] (VARIABLE): likewise
|
||||||
|
|
||||||
2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
|
2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
Disable lnxboot.img when compiled
|
Disable lnxboot.img when compiled
|
||||||
|
|
|
@ -28,7 +28,10 @@
|
||||||
# define EXT_C(sym) sym
|
# define EXT_C(sym) sym
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ! defined (__CYGWIN__) && ! defined (__MINGW32__)
|
#if defined (APPLE_CC)
|
||||||
|
#define FUNCTION(x) .globl EXT_C(x) ; EXT_C(x):
|
||||||
|
#define VARIABLE(x) .globl EXT_C(x) ; EXT_C(x):
|
||||||
|
#elif ! defined (__CYGWIN__) && ! defined (__MINGW32__)
|
||||||
#define FUNCTION(x) .globl EXT_C(x) ; .type EXT_C(x), "function" ; 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):
|
#define VARIABLE(x) .globl EXT_C(x) ; .type EXT_C(x), "object" ; EXT_C(x):
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in a new issue