https://sourceware.org/bugzilla/show_bug.cgi?id=32741
Bug ID: 32741
Summary: readelf -r -D doesn't dump DT_RELR relocations
Product: binutils
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: hjl.tools at gmail dot com
CC: i at maskray dot me
Target Milestone: ---
[hjl@gnu-tgl-3 pr32459]$ readelf -r x.so
Relocation section '.rela.dyn' at offset 0x1078 contains 2 entries:
Offset Info Type Sym. Value Sym. Name +
Addend
000000003008 000100000001 R_X86_64_64 0000000000000000 data1 + 0
000000003018 000100000001 R_X86_64_64 0000000000000000 data1 + 0
Relocation section '.rela.plt' at offset 0x10a8 contains 1 entry:
Offset Info Type Sym. Value Sym. Name +
Addend
000000003000 000200000007 R_X86_64_JUMP_SLO 0000000000000000 func1 + 1e0
Relocation section '.relr.dyn' at offset 0x10c0 contains 2 entries which
relocate 3 locations:
Index: Entry Address Symbolic Address
0000: 0000000000002fe0 0000000000002fe0 .got
0001: 0000000000000141 0000000000003010 .bar + 0x8
0000000000003020 .foo + 0x8
[hjl@gnu-tgl-3 pr32459]$ readelf -r -D x.so
'RELA' relocation section at offset 0x1078 contains 48 bytes:
Offset Info Type Sym. Value Sym. Name +
Addend
000000003008 000100000001 R_X86_64_64 0000000000000000 data1 + 0
000000003018 000100000001 R_X86_64_64 0000000000000000 data1 + 0
'RELR' relocation section at offset 0x10c0 contains 16 bytes:
'PLT' relocation section at offset 0x10a8 contains 24 bytes:
Offset Info Type Sym. Value Sym. Name +
Addend
000000003000 000200000007 R_X86_64_JUMP_SLO 0000000000000000 func1 + 1e0
[hjl@gnu-tgl-3 pr32459]$
--
You are receiving this mail because:
You are on the CC list for the bug.