]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - ld/testsuite/ld-elf/dt-relr-2c.d
7f6383b01844698333dde2680f0daa39866d4aae
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-elf / dt-relr-2c.d
1 #source: dt-relr-2.s
2 #ld: -shared $DT_RELR_LDFLAGS
3 #readelf: -rW -d
4 #target: [supports_dt_relr]
5
6 #...
7 0x[0-9a-f]+ \(RELR\) +0x[0-9a-f]+
8 0x[0-9a-f]+ \(RELRSZ\) +(8|16) \(bytes\)
9 0x[0-9a-f]+ \(RELRENT\) +(4|8) \(bytes\)
10 #...
11 Relocation section '\.rel(a|)\.dyn' at offset 0x[0-9a-f]+ contains 2 entries:
12 #...
13 [0-9a-f]+ +[0-9a-f]+ +R_.*_(RELATIVE|UADDR.*) .*
14 #...
15 Relocation section '\.relr\.dyn' at offset 0x[0-9a-f]+ contains 2 entries:
16 #...
17 0000: +[0-9a-f]+ [0-9a-f]+ +.* \(new starting address\)
18 0001: +[0-9a-f]+ [0-9a-f]+ +.* \(start of bitmap\)
19 +[0-9a-f]+ +.*
20 #pass