diff options
author | Alan Modra <amodra@gmail.com> | 2025-02-17 09:25:30 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2025-02-18 09:16:57 +1030 |
commit | 54746376570c34d063e570161453b86b5d854380 (patch) | |
tree | cbde2a9c8f41e876444d0879d5772de71bd3cecd /gdb | |
parent | d26161914cf286171b29767916a212685f9aadf3 (diff) | |
download | binutils-54746376570c34d063e570161453b86b5d854380.zip binutils-54746376570c34d063e570161453b86b5d854380.tar.gz binutils-54746376570c34d063e570161453b86b5d854380.tar.bz2 |
bfd_set_section_alignment errors
I noticed when making the change from "einfo" to "fatal" that the
alignment error in _bfd_elf_link_create_gnu_property_sec lacked a %P,
and then decided that a bfd_set_section_alignment that can't happen
does not merit a separate error message. elfxx-x86.c had copied the
same code, so fix that too. In fact, every bfd_set_section_alignment
call in elfxx-x86.c will always return true absent some future
programming error. This patch makes those that accompany making a
section lose their "failed to align " error and share the "failed to
create" error. Those that are changing alignment of a section created
elsewhere now abort on bfd_set_section_alignment returning false.
Diffstat (limited to 'gdb')
0 files changed, 0 insertions, 0 deletions