* include/grub/symbol.h (EXT_C) [GRUB_UTIL]: Removed.

(FUNCTION) [GRUB_UTIL]: Likewise.
	(VARIABLE) [GRUB_UTIL]: Likewise.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-02-10 12:47:42 +01:00
parent 44318d6168
commit 164ebb480d
2 changed files with 8 additions and 0 deletions

View file

@ -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>
* include/grub/misc.h: Avoid evaluationg NEED_ENABLE_EXECUTE_STACK and

View file

@ -25,6 +25,7 @@
#define LOCAL(sym) L_ ## sym
/* Add an underscore to a C symbol in assembler code if needed. */
#ifndef GRUB_UTIL
#if HAVE_ASM_USCORE
# define EXT_C(sym) _ ## sym
#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 VARIABLE(x) .globl EXT_C(x) ; .def EXT_C(x); .scl 2; .type 0; .endef; EXT_C(x):
#endif
#endif
/* Mark an exported symbol. */
#ifndef GRUB_SYMBOL_GENERATOR