https://sourceware.org/bugzilla/show_bug.cgi?id=34339
Bug ID: 34339
Summary: readelf --got-contents segfault
Product: binutils
Version: 2.47 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: hjl.tools at gmail dot com
Target Milestone: ---
Target: x86
[hjl@gnu-tgl-3 tmp]$ cat foo.s
.section .bar,"aw",@progbits
.p2align 3
.dc.a __ehdr_start
.section .foo,"aw",@progbits
.p2align 3
.dc.a __ehdr_start
.section .note.GNU-stack,"",@progbits
[hjl@gnu-tgl-3 tmp]$ gcc -c foo.s
[hjl@gnu-tgl-3 tmp]$ ld -shared -z pack-relative-relocs foo.o
[hjl@gnu-tgl-3 tmp]$ readelf -D --got-contents a.out
Segmentation fault (core dumped) readelf -D --got-contents a.out
[hjl@gnu-tgl-3 tmp]$
--
You are receiving this mail because:
You are on the CC list for the bug.