Fix x86 __PIC__ bug when indirecting in GLUE_BANK_MAYBEREAD()

This commit is contained in:
Aaron Culliney 2016-05-10 22:17:37 -07:00
parent 7dc83521ec
commit 8ce1fffe89

View File

@ -194,7 +194,7 @@
# define _GOT_PRE(sym,reg) movl _A2_PIC_GOT(%esp), reg; \
movl _UNDER(sym)@GOT(reg), reg;
# define CALL_IND0(fn) _GOT_PRE(fn, _PICREG); calll *_PICREG;
# define CALL_IND0(fn) _GOT_PRE(fn, _PICREG); calll *(_PICREG);
# define CALL_IND(sym,off,sz) _GOT_PRE(sym,_PICREG); calll *(_PICREG,off,sz);