emit-relocs-287.d 330 B

12345678910
  1. #source: emit-relocs-287.s
  2. #ld: -T relocs.ld --defsym tempy=0x1ffff --defsym tempy2=0x4 -e0 --emit-relocs
  3. #objdump: -dr
  4. #...
  5. +10000: d29fffe4 mov x4, #0xffff // #65535
  6. 10000: R_AARCH64_MOVW_PREL_G0 tempy
  7. +10004: 929ffff1 mov x17, #0xffffffffffff0000 // #-65536
  8. 10004: R_AARCH64_MOVW_PREL_G0 tempy2