bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/31047] relocation R_X86_64_NONE against absolute symbol `__dtrac


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/31047] relocation R_X86_64_NONE against absolute symbol `__dtrace_test_prov___place' in section `.text.startup' is disallowed
Date: Tue, 09 Jan 2024 14:43:22 +0000

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

--- Comment #4 from Sourceware Commits <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=2e93abb858ae4ff2b8605b4a94988068869c0ff1

commit 2e93abb858ae4ff2b8605b4a94988068869c0ff1
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Jan 9 06:30:28 2024 -0800

    x86: Don't check R_386_NONE nor R_X86_64_NONE

    Update x86 ELF linker to skip R_386_NONE/R_X86_64_NONE when scanning
    relocations.

    bfd/

            * PR ld/31047
            * elf32-i386.c (elf_i386_scan_relocs): Don't check R_386_NONE.
            * elf64-x86-64.c (elf_x86_64_scan_relocs): Don't check
            R_X86_64_NONE.

    ld/

            * PR ld/31047
            * testsuite/ld-i386/i386.exp: Run PR ld/31047 test.
            * testsuite/ld-x86-64/x86-64.exp: Likewise.
            * testsuite/ld-i386/pr31047.d: New file.
            * testsuite/ld-x86-64/pr31047-x32.d: Likewise.
            * testsuite/ld-x86-64/pr31047.d: Likewise.
            * testsuite/ld-x86-64/pr31047a.s: Likewise.
            * testsuite/ld-x86-64/pr31047b.s: 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]