blob: d149e77bd68c5e6958ad32e5a0e2d5d8fbb49d3e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#source: dt-relr-2.s
#ld: -e _start -pie $DT_RELR_LDFLAGS --no-relax
#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 which relocate [0-9]+ locations:
#...
0000: +[0-9a-f]+ [0-9a-f]+ +data
0001: +[0-9a-f]+ [0-9a-f]+ +data \+ 0x[0-9a-f]+
+[0-9a-f]+ +data \+ 0x[0-9a-f]+
+[0-9a-f]+ +data \+ 0x[0-9a-f]+
#pass
|