| 1 | #source: emit-relocs-312.s |
| 2 | #ld: -T relocs.ld --defsym tempy=0x11000 --defsym tempy2=0x45000 --defsym tempy3=0x1234 -e0 --emit-relocs |
| 3 | #objdump: -dr |
| 4 | #... |
| 5 | +10000: 8a000000 and x0, x0, x0 |
| 6 | +10004: 92400000 and x0, x0, #0x1 |
| 7 | +10008: 58007fc4 ldr x4, 11000 <tempy> |
| 8 | +10008: R_AARCH64_LD_PREL_LO19 tempy |
| 9 | +1000c: 581a7fa7 ldr x7, 45000 <tempy2> |
| 10 | +1000c: R_AARCH64_LD_PREL_LO19 tempy2 |
| 11 | +10010: 58f89131 ldr x17, 1234 <tempy3> |
| 12 | +10010: R_AARCH64_LD_PREL_LO19 tempy3 |
| 13 | +10014: f9400c43 ldr x3, \[x2.* |
| 14 | +10014: R_AARCH64_LD64_GOT_LO12_NC jempy |
| 15 | +10018: f9400844 ldr x4, \[x2.* |
| 16 | +10018: R_AARCH64_LD64_GOT_LO12_NC gempy |
| 17 | +1001c: f9400445 ldr x5, \[x2.* |
| 18 | +1001c: R_AARCH64_LD64_GOT_LO12_NC lempy |
| 19 | |