mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
21 lines
563 B
Makefile
21 lines
563 B
Makefile
#source: dt-relr-2.s
|
|
#ld: -shared $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 2 entries:
|
|
#...
|
|
[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]+ +.*
|
|
0001: +[0-9a-f]+ [0-9a-f]+ +.*
|
|
+[0-9a-f]+ +.*
|
|
#pass
|