Projet_SETI_RISC-V/riscv-gnu-toolchain/binutils/ld/testsuite/ld-aarch64/emit-relocs-287.d
2023-03-06 14:48:14 +01:00

10 lines
330 B
Makefile

#source: emit-relocs-287.s
#ld: -T relocs.ld --defsym tempy=0x1ffff --defsym tempy2=0x4 -e0 --emit-relocs
#objdump: -dr
#...
+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