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:
Andrew Turner 2015-05-11 19:00:02 +00:00
parent ec94f63bca
commit 827422e3fd

View File

@ -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; \