bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/25551] R_X86_64_PLT32 referencing .L should not emit an outstan


From: cvs-commit at gcc dot gnu.org
Subject: [Bug gas/25551] R_X86_64_PLT32 referencing .L should not emit an outstanding relocation
Date: Thu, 13 Feb 2020 22:09:15 +0000

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

--- Comment #1 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 <address@hidden>:

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

commit 292676c15a615b5a95bede9ee91004d3f7ee7dfd
Author: H.J. Lu <address@hidden>
Date:   Thu Feb 13 13:44:17 2020 -0800

    x86: Resolve PLT32 reloc aganst local symbol to section

    Since PLT entry isn't needed for branch to local symbol, we can resolve
    R_386_PLT32/R_X86_64_PLT32 relocation aganst local symbol to section,
    similar to R_386_PC32/R_X86_64_PC32.

    2020-02-13  Fangrui Song   <address@hidden>
            H.J. Lu  <address@hidden>

        PR gas/25551
        * config/tc-i386.c (tc_i386_fix_adjustable): Don't check
        BFD_RELOC_386_PLT32 nor BFD_RELOC_X86_64_PLT32.
        * testsuite/gas/i386/i386.exp: Run relax-5 and x86-64-relax-4.
        * testsuite/gas/i386/relax-5.d: New file.
        * testsuite/gas/i386/relax-5.s: Likewise.
        * testsuite/gas/i386/x86-64-relax-4.d: Likewise.
        * testsuite/gas/i386/x86-64-relax-4.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]