https://sourceware.org/bugzilla/show_bug.cgi?id=34062
--- Comment #9 from Sourceware Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Alan Modra <[email protected]>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=bab15b5051f99ae731097fccb41aa5755827f517 commit bab15b5051f99ae731097fccb41aa5755827f517 Author: Alan Modra <[email protected]> Date: Thu Jun 4 07:53:47 2026 +0930 elf_merge_st_other This fixes a potential problem with merging non-visibility bits in st_other. Non-visibilty bits in st_other have an architecture dependent meaning, so they cannot just be copied from a foreign ELF object file. I think the safest thing to do in this situation is ignore non-visibility st_other bits. That's what this patch does. PR 34062 * elflink.c (elf_merge_st_other): Replace abfd param with obfd and ibfd parameters. Do not call elf_backend_merge_symbol_attribute when input xvec differs from output xvec. (_bfd_elf_merge_symbol, _bfd_elf_add_default_symbol), (elf_link_add_object_symbols), (_bfd_elf_copy_link_hash_symbol_type): Pass both output bfd and input bfd to elf_merge_st_other. -- You are receiving this mail because: You are on the CC list for the bug.
