Commit | Line | Data |
---|---|---|
7018c030 JW |
1 | #source: emit-relocs-28.s |
2 | #as: -mabi=ilp32 | |
696ddf4b | 3 | #ld: -m [aarch64_choose_ilp32_emul] --defsym globala=0x11000 --defsym globalb=0x45000 --defsym globalc=0x1234 -e0 --emit-relocs |
7018c030 JW |
4 | #objdump: -dr |
5 | ||
6 | .*: +file format .* | |
7 | ||
8 | ||
9 | Disassembly of section .text: | |
10 | ||
696ddf4b JW |
11 | .* <\.text>: |
12 | .*: .* adrp x2, .* <.*> | |
13 | .*: R_AARCH64_P32_ADR_PREL_PG_HI21 _GLOBAL_OFFSET_TABLE_ | |
14 | .*: .* ldr x0, \[x2,#.*\] | |
15 | .*: R_AARCH64_P32_LD32_GOTPAGE_LO14 globala | |
16 | .*: .* ldr x0, \[x2,#.*\] | |
17 | .*: R_AARCH64_P32_LD32_GOTPAGE_LO14 globalb | |
18 | .*: .* ldr x0, \[x2,#.*\] | |
19 | .*: R_AARCH64_P32_LD32_GOTPAGE_LO14 globalc |