summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
bc9ac7e)
Note that this doesn't mean that one can redefine `GOTREG' and have the
macros use a different register by default; the relative expansion
orders of the two macro systems don't work like that.
#define GOTREG r9
// Maybe load GOT address into GOT.
#define GOTREG r9
// Maybe load GOT address into GOT.
+ .macro ldgot got=GOTREG
#if WANT_PIC
ldr \got, =_GLOBAL_OFFSET_TABLE_ - . - 12
add \got, pc, \got
#if WANT_PIC
ldr \got, =_GLOBAL_OFFSET_TABLE_ - . - 12
add \got, pc, \got