Displaying 1 result from an estimated 1 matches for "00008290".
Did you mean:
00008294
2012 Mar 13
3
[LLVMdev] MC JIT on ARM can't generate valid code for external functions call
...e following problem with MC JIT, on ARM it can't generate
valid code for instruction "bl <external_function>" like:
bl printf
Because the ELF file in memory generated by MC JIT does not have the
.plt section, but we need to have the following code to be emitted in it:
.plt:00008290 STR LR, [SP,#-4]!
.plt:00008294 LDR LR, =_GLOBAL_OFFSET_TABLE_
; PIC mode
.plt:00008298 NOP
.plt:0000829C LDR PC, [LR,#8]!
Also GOT section doesn't exists.
To fix this we need to generate the v...