bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/27171] R_AMD64_DIR64/R_AMD64_DIR32 static address relocation


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/27171] R_AMD64_DIR64/R_AMD64_DIR32 static address relocation
Date: Tue, 12 Jan 2021 13:19:37 +0000

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

--- Comment #5 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=c2e9a4a3ed1efcbdec68372e7e889470870d6d48

commit c2e9a4a3ed1efcbdec68372e7e889470870d6d48
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Jan 12 05:10:58 2021 -0800

    elf/x86-64: Adjust R_AMD64_DIR64/R_AMD64_DIR32 for PE/x86-64 inputs

    Subtract the value of the section contents for R_AMD64_DIR64 and
    R_AMD64_DIR32 relocations when generating ELF output from PE/x86-64
    inputs.

    bfd/

            PR ld/27171
            * reloc.c (bfd_perform_relocation): Adjust R_AMD64_DIR64 and
            R_AMD64_DIR32 relocations for PE/x86-64 inputs.

    ld/

            PR ld/27171
            * testsuite/ld-x86-64/pe-x86-64-5.obj.bz2: New file.
            * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise.
            * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise.
            * testsuite/ld-x86-64/pe-x86-64.exp: Run PR ld/27171 test.

-- 
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]