emit-relocs-28.d 571 B

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