https://sourceware.org/bugzilla/show_bug.cgi?id=33328
Bug ID: 33328
Summary: "readelf -D -r" doesn't include DT_RELR
Product: binutils
Version: 2.46 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: hjl.tools at gmail dot com
Target Milestone: ---
[hjl@gnu-cfl-3 ld]$ cat x.s
.data
.p2align 3
.globl data
data:
.dc.a __ehdr_start + 2
.dc.a __ehdr_start + 4
.dc.a __ehdr_start + 6
.dc.a __ehdr_start + 8
[hjl@gnu-cfl-3 ld]$ gcc -c x.s
[hjl@gnu-cfl-3 ld]$ ld -shared -z pack-relative-relocs -o dump x.o
[hjl@gnu-cfl-3 ld]$ readelf -D -rW dump
'RELR' relocation section at offset 0x1060 contains 16 bytes:
[hjl@gnu-cfl-3 ld]$
--
You are receiving this mail because:
You are on the CC list for the bug.