Use the Thumb compliant version of the add instruction. We can only use
"add Rd, Rn, Rm" from within an IT (if-then) block.
This commit is contained in:
parent
ec94f63bca
commit
827422e3fd
@ -126,7 +126,7 @@
|
||||
ldr x, [x, got]
|
||||
#define GOT_INIT(got,gotsym,pclabel) \
|
||||
ldr got, gotsym; \
|
||||
pclabel: add got, got, pc
|
||||
pclabel: add got, pc
|
||||
#ifdef __thumb__
|
||||
#define GOT_INITSYM(gotsym,pclabel) \
|
||||
.align 2; \
|
||||
|
Loading…
Reference in New Issue
Block a user