Retro68/binutils/ld/testsuite/ld-aarch64/emit-relocs-287.d

11 lines
330 B
D
Raw Normal View History

#source: emit-relocs-287.s
2018-12-28 15:25:28 +00:00
#ld: -T relocs.ld --defsym tempy=0x1ffff --defsym tempy2=0x4 -e0 --emit-relocs
#objdump: -dr
#...
2018-12-28 15:25:28 +00:00
+10000: d29fffe4 mov x4, #0xffff // #65535
10000: R_AARCH64_MOVW_PREL_G0 tempy
+10004: 929ffff1 mov x17, #0xffffffffffff0000 // #-65536
10004: R_AARCH64_MOVW_PREL_G0 tempy2