Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-elf/dt-relr-2b.d

18 lines
465 B
D
Raw Normal View History

2023-03-06 14:48:14 +01:00
#source: dt-relr-2.s
#ld: -e _start -pie $DT_RELR_LDFLAGS
#readelf: -rW -d
#target: [supports_dt_relr]
#...
0x[0-9a-f]+ \(RELR\) +0x[0-9a-f]+
0x[0-9a-f]+ \(RELRSZ\) +(8|16) \(bytes\)
0x[0-9a-f]+ \(RELRENT\) +(4|8) \(bytes\)
#...
Relocation section '\.rel(a|)\.dyn' at offset 0x[0-9a-f]+ contains 1 entry:
#...
[0-9a-f]+ +[0-9a-f]+ +R_.*_(RELATIVE|UADDR.*) .*
#...
Relocation section '\.relr\.dyn' at offset 0x[0-9a-f]+ contains 2 entries:
4 offsets
#pass