18 lines
428 B
ArmAsm
18 lines
428 B
ArmAsm
.text
|
|
.globl bar
|
|
.type bar, @function
|
|
bar:
|
|
call __x86.get_pc_thunk.ax
|
|
addl $_GLOBAL_OFFSET_TABLE_, %eax
|
|
lea foo@GOT, %ecx
|
|
mov (%eax,%ecx,1), %eax
|
|
ret
|
|
.section .text.__x86.get_pc_thunk.ax,"axG",@progbits,__x86.get_pc_thunk.ax,comdat
|
|
.globl __x86.get_pc_thunk.ax
|
|
.hidden __x86.get_pc_thunk.ax
|
|
.type __x86.get_pc_thunk.ax, @function
|
|
__x86.get_pc_thunk.ax:
|
|
movl (%esp), %eax
|
|
ret
|
|
.section .note.GNU-stack,"",@progbits
|