bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/29655] s390x gas generates PC32DBL instead of PLT32DBL for func


From: krebbel at linux dot ibm.com
Subject: [Bug gas/29655] s390x gas generates PC32DBL instead of PLT32DBL for function call
Date: Fri, 07 Oct 2022 07:17:33 +0000

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

Andreas Krebbel <krebbel at linux dot ibm.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |krebbel at linux dot ibm.com

--- Comment #4 from Andreas Krebbel <krebbel at linux dot ibm.com> ---
Since GCC 12 we always emit @PLT at brasl symbols already:

commit 0990d93dd8a4268bff5bbe48aa26748cf63201c7
Author: Ilya Leoshkevich <iii@linux.ibm.com>
Date:   Mon Jun 7 13:44:15 2021 +0200

    IBM Z: Use @PLT symbols for local functions in 64-bit mode

    This helps with generating code for kernel hotpatches, which contain
    individual functions and are loaded more than 2G away from vmlinux.
    This should not create performance regressions for the normal use
    cases, because for local functions ld replaces @PLT calls with direct
    calls.


That previous GCCs omit this isn't a problem since ld makes sure to jump
through PLT also for PC32DBL.

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