]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
BFD: Make `bfd_finalize_section_relocs' return status
authorMaciej W. Rozycki <macro@orcam.me.uk>
Wed, 14 Jan 2026 22:28:43 +0000 (22:28 +0000)
committerMaciej W. Rozycki <macro@orcam.me.uk>
Wed, 14 Jan 2026 22:28:43 +0000 (22:28 +0000)
commitca2186f9ca89e4d0602e67d2ecca997c8a097aa6
tree22bf6ff2329ae436a054f1ef1cc733e15b356202
parente9499dfeb3af65cadf12bb32db24efdd5adb7427
BFD: Make `bfd_finalize_section_relocs' return status

Update `bfd_finalize_section_relocs' to return status so that backends
can fail in this interface and propagate that to the respective callers.
Add suitable error reporting there.  No failure cases in the existing
handlers though.
16 files changed:
bfd/bfd-in2.h
bfd/bfd.c
bfd/elf64-sparc.c
bfd/libbfd-in.h
bfd/libbfd.c
bfd/libbfd.h
bfd/reloc.c
bfd/targets.c
binutils/objcopy.c
binutils/rescoff.c
gas/config/obj-coff.c
gas/config/obj-coff.h
gas/config/obj-macho.c
gas/config/obj-macho.h
gas/write.c
ld/ldlang.c