* include/grub/symbol.h (EXT_C) [GRUB_UTIL]: Removed.
(FUNCTION) [GRUB_UTIL]: Likewise. (VARIABLE) [GRUB_UTIL]: Likewise.
This commit is contained in:
parent
44318d6168
commit
164ebb480d
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2012-02-10 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* include/grub/symbol.h (EXT_C) [GRUB_UTIL]: Removed.
|
||||||
|
(FUNCTION) [GRUB_UTIL]: Likewise.
|
||||||
|
(VARIABLE) [GRUB_UTIL]: Likewise.
|
||||||
|
|
||||||
2012-02-10 Vladimir Serbinenko <phcoder@gmail.com>
|
2012-02-10 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* include/grub/misc.h: Avoid evaluationg NEED_ENABLE_EXECUTE_STACK and
|
* include/grub/misc.h: Avoid evaluationg NEED_ENABLE_EXECUTE_STACK and
|
||||||
|
|
|
@ -25,6 +25,7 @@
|
||||||
#define LOCAL(sym) L_ ## sym
|
#define LOCAL(sym) L_ ## sym
|
||||||
|
|
||||||
/* Add an underscore to a C symbol in assembler code if needed. */
|
/* Add an underscore to a C symbol in assembler code if needed. */
|
||||||
|
#ifndef GRUB_UTIL
|
||||||
#if HAVE_ASM_USCORE
|
#if HAVE_ASM_USCORE
|
||||||
# define EXT_C(sym) _ ## sym
|
# define EXT_C(sym) _ ## sym
|
||||||
#else
|
#else
|
||||||
|
@ -42,6 +43,7 @@
|
||||||
#define FUNCTION(x) .globl EXT_C(x) ; .def EXT_C(x); .scl 2; .type 32; .endef; EXT_C(x):
|
#define FUNCTION(x) .globl EXT_C(x) ; .def EXT_C(x); .scl 2; .type 32; .endef; EXT_C(x):
|
||||||
#define VARIABLE(x) .globl EXT_C(x) ; .def EXT_C(x); .scl 2; .type 0; .endef; EXT_C(x):
|
#define VARIABLE(x) .globl EXT_C(x) ; .def EXT_C(x); .scl 2; .type 0; .endef; EXT_C(x):
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Mark an exported symbol. */
|
/* Mark an exported symbol. */
|
||||||
#ifndef GRUB_SYMBOL_GENERATOR
|
#ifndef GRUB_SYMBOL_GENERATOR
|
||||||
|
|
Loading…
Reference in a new issue