]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gas/ELF: allow specifying entity size for arbitrary sections
authorJan Beulich <jbeulich@suse.com>
Fri, 15 Aug 2025 10:19:59 +0000 (12:19 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 15 Aug 2025 10:19:59 +0000 (12:19 +0200)
commit98e6d3f5bd4e7e3cbd2718151cc54692f6740b65
tree81e7541e1fd610e79cb9bdfd30a3223c4441250d
parent21ff588912e47acae7ff34e45f68dc4296b6bcef
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
gas/NEWS
gas/config/obj-elf.c
gas/doc/as.texi
gas/testsuite/gas/elf/elf.exp
gas/testsuite/gas/elf/entsize.d [new file with mode: 0644]
gas/testsuite/gas/elf/entsize.s [new file with mode: 0644]