2015-06-01 14:45:25 +00:00
|
|
|
#source: emit-relocs-28.s
|
|
|
|
#as: -mabi=ilp32
|
2015-06-17 15:36:04 +00:00
|
|
|
#ld: -m [aarch64_choose_ilp32_emul] --defsym globala=0x11000 --defsym globalb=0x45000 --defsym globalc=0x1234 -e0 --emit-relocs
|
2015-06-01 14:45:25 +00:00
|
|
|
#objdump: -dr
|
|
|
|
|
|
|
|
.*: +file format .*
|
|
|
|
|
|
|
|
|
|
|
|
Disassembly of section .text:
|
|
|
|
|
2015-06-17 15:36:04 +00:00
|
|
|
.* <\.text>:
|
|
|
|
.*: .* adrp x2, .* <.*>
|
|
|
|
.*: R_AARCH64_P32_ADR_PREL_PG_HI21 _GLOBAL_OFFSET_TABLE_
|
|
|
|
.*: .* ldr x0, \[x2,#.*\]
|
|
|
|
.*: R_AARCH64_P32_LD32_GOTPAGE_LO14 globala
|
|
|
|
.*: .* ldr x0, \[x2,#.*\]
|
|
|
|
.*: R_AARCH64_P32_LD32_GOTPAGE_LO14 globalb
|
|
|
|
.*: .* ldr x0, \[x2,#.*\]
|
|
|
|
.*: R_AARCH64_P32_LD32_GOTPAGE_LO14 globalc
|