mirror of
https://git.proxmox.com/git/grub2
synced 2025-05-28 09:05:51 +00:00
* include/grub/symbol.h (FUNCTION): Use @function rather than
"function". (VARIABLE): Likewise.
This commit is contained in:
parent
6d5a4ceefe
commit
4f1cfd22d3
@ -1,3 +1,9 @@
|
||||
2013-11-07 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* include/grub/symbol.h (FUNCTION): Use @function rather than
|
||||
"function".
|
||||
(VARIABLE): Likewise.
|
||||
|
||||
2013-11-07 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/net/bootp.c (OFFSET_OF): Explicitly cast to grub_size_t.
|
||||
|
@ -41,8 +41,8 @@
|
||||
#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 VARIABLE(x) .globl EXT_C(x) ; .type EXT_C(x), "object" ; 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):
|
||||
#else
|
||||
/* .type not supported for non-ELF targets. XXX: Check this in configure? */
|
||||
#define FUNCTION(x) .globl EXT_C(x) ; .def EXT_C(x); .scl 2; .type 32; .endef; EXT_C(x):
|
||||
|
Loading…
Reference in New Issue
Block a user