2 #ld
: -e _start
-pie
$DT_RELR_LDFLAGS
--no
-relax
4 #target
: [supports_dt_relr
]
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\
)
11 Relocation section
'\.rel(a|)\.dyn' at offset
0x
[0-9a
-f
]+ contains
1 entry
:
13 [0-9a
-f
]+ +[0-9a
-f
]+ +R_
.*_(RELATIVE|UADDR
.*) .*
15 Relocation section
'\.relr\.dyn' at offset
0x
[0-9a
-f
]+ contains
2 entries
:
17 0000: +[0-9a
-f
]+ [0-9a
-f
]+ +data \
(new starting address\
)
18 0001: +[0-9a
-f
]+ [0-9a
-f
]+ +data \
+ 0x
[0-9a
-f
]+ \
(start of bitmap\
)
19 +[0-9a
-f
]+ +data \
+ 0x
[0-9a
-f
]+
20 +[0-9a
-f
]+ +data \
+ 0x
[0-9a
-f
]+