Automatic date update in version.in
[binutils-gdb.git] / ld / testsuite / ld-riscv-elf / data-reloc-rv32-pic.d
blob13f34e052b7697ebfbcf629a5e6b2c80c249af41
1 #source: data-reloc.s
2 #as: -march=rv32i -mabi=ilp32 -defsym __abs__=1 -defsym __addr__=1 -defsym __undef__=1
3 #ld: -m[riscv_choose_ilp32_emul] -Ttext 0x8000 --defsym _start=0x0 --defsym abs=0x100 --defsym abs_local=0x200 -shared
4 #objdump: -dR
6 .*:[ ]+file format .*
9 Disassembly of section .text:
11 0+8000 <addr_globl>:
12 8000: 00000000 .word 0x00000000
13 8000: R_RISCV_32 addr_globl
15 0+8004 <addr_local>:
16 ...
17 8004: R_RISCV_RELATIVE \*ABS\*\+0x8004
18 8008: R_RISCV_32 abs
19 800c: 00000200 .word 0x00000200
20 8010: 00000000 .word 0x00000000
21 8010: R_RISCV_32 undef