mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-28 18:19:23 +00:00
* include/grub/symbol.h (FUNCTION), (VARIABLE) [__arm__]: Use % as
prefix symbol, not @.
This commit is contained in:
1 parent
9fdc64a927
commit
12359faff0
2 files changed
+8
No files matched your search
@@ -43,6 +43,9 @@
|
||||
#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):
|
||||
#elif defined (__arm__)
|
||||
#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):
|
||||
|
||||
Reference in new issue
Block a user