https://sourceware.org/bugzilla/show_bug.cgi?id=33291
Bug ID: 33291
Summary: Recent entity size in gas change breaks ld (dwz
testsuite)
Product: binutils
Version: 2.46 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: sam at gentoo dot org
CC: jbeulich at suse dot com
Target Milestone: ---
This shows up in the dwz testsuite.
```
$ gcc hello.c -o hello -g
$ eu-strip hello -o hello.stripped -f hello.debug
eu-strip: while writing 'hello.debug.zHrbN5': invalid section entry size
```
98e6d3f5bd4e7e3cbd2718151cc54692f6740b65 is the first bad commit
commit 98e6d3f5bd4e7e3cbd2718151cc54692f6740b65
Author: Jan Beulich <[email protected]>
AuthorDate: Fri Aug 15 12:19:59 2025 +0200
Commit: Jan Beulich <[email protected]>
CommitDate: Fri Aug 15 12:19:59 2025 +0200
gas/ELF: allow specifying entity size for arbitrary sections
The spec doesn't tie entity size to just SHF_MERGE and SHF_STRINGS
sections. Introduce a new "section letter" 'E' to allow recording (and
checking) of entity size even without 'M' or 'S'.
bfd/elf.c | 15 +++++++--------
gas/NEWS | 3 +++
gas/config/obj-elf.c | 51
+++++++++++++++++++++++++++++++++++----------------
gas/doc/as.texi | 14 ++++++++------
gas/testsuite/gas/elf/elf.exp | 1 +
gas/testsuite/gas/elf/entsize.d | 9 +++++++++
gas/testsuite/gas/elf/entsize.s | 8 ++++++++
7 files changed, 71 insertions(+), 30 deletions(-)
create mode 100644 gas/testsuite/gas/elf/entsize.d
create mode 100644 gas/testsuite/gas/elf/entsize.s
bisect found first bad commit
--
You are receiving this mail because:
You are on the CC list for the bug.