[PATCH] ELF: Properly copy and strip Solaris binaries

Alan Modra amodra@gmail.com
Tue Dec 30 22:57:20 GMT 2025


On Sat, Dec 27, 2025 at 10:14:03AM +0800, H.J. Lu wrote:
> * bfd.c (bfd_elf_target_os): New.
> (bfd): Add elf_target_os.
> * elf-bfd.h (elf_target_os): Removed.

Why do we need another target_os?  There's one in the linker hash
table and one in elf_backend_data.  You have access to the latter and
EI_OSABI via the bfd.

-- 
Alan Modra


More information about the Binutils mailing list