greenhills: fix macro undefined warning
AS: modlib/modlib_globals.S "modlib/modlib_globals.S", line 38: warning #193-D: zero used for undefined preprocessing identifier "__SIZEOF_POINTER__" #if __SIZEOF_POINTER__ == 8 ^ Signed-off-by: guoshichao <guoshichao@xiaomi.com>
This commit is contained in:
parent
a9e2942d8f
commit
04f5aaebfa
@ -33,7 +33,7 @@
|
|||||||
.endm
|
.endm
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if __SIZEOF_POINTER__ == 8
|
#if defined(__SIZEOF_POINTER__ ) && __SIZEOF_POINTER__ == 8
|
||||||
.macro globalEntry index, ep
|
.macro globalEntry index, ep
|
||||||
.quad .l\index
|
.quad .l\index
|
||||||
.quad \ep
|
.quad \ep
|
||||||
|
Loading…
x
Reference in New Issue
Block a user