bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/27178] x86-64: Omit _GLOBAL_OFFSET_TABLE_ for call foo@PLT


From: cvs-commit at gcc dot gnu.org
Subject: [Bug gas/27178] x86-64: Omit _GLOBAL_OFFSET_TABLE_ for call foo@PLT
Date: Wed, 13 Jan 2021 13:52:42 +0000

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

--- 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 <hjl@sourceware.org>:

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

commit 844bf810cf9feebe50772c29d72256ec3c872270
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Jan 13 05:42:11 2021 -0800

    x86: Don't generate GOT_symbol for PLT relocations

    Don't generate the _GLOBAL_OFFSET_TABLE_ symbol for PLT relocations
    since it isn't needed.

            PR gas/27178
            * config/tc-i386.c (lex_got::gotrel): Add need_GOT_symbol.
            Don't generate GOT_symbol for PLT relocations.
            * testsuite/gas/i386/i386.exp: Run PR gas/27178 tests.
            * testsuite/gas/i386/no-got.d: New file.
            * testsuite/gas/i386/no-got.s: Likewise.
            * testsuite/gas/i386/x86-64-no-got.d: Likewise.
            * testsuite/gas/i386/x86-64-no-got.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]