bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/27091] executable is incorrectly marked as ELFOSABI_GNU


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/27091] executable is incorrectly marked as ELFOSABI_GNU
Date: Fri, 18 Dec 2020 12:28:17 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=27091

--- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by H.J. Lu <hjl@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=04f8967487515179cc6dfc7c828f77eeb75c08d3

commit 04f8967487515179cc6dfc7c828f77eeb75c08d3
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri Dec 18 04:24:26 2020 -0800

    elf: Copy elf_gnu_osabi_retain only for relocatable link

    Copy elf_gnu_osabi_retain from input only for relocatable link since
    SHF_GNU_RETAIN has no impact on non-relocatable outputs.

    bfd/

            PR ld/27091
            * elflink.c (elf_link_input_bfd): Copy elf_gnu_osabi_retain
            from input only for relocatable link.

    ld/

            PR ld/27091
            * testsuite/ld-elf/retain7.s: New file.
            * testsuite/ld-elf/retain7a.d: Likewise.
            * testsuite/ld-elf/retain7b.d: Likewise.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]