bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/22537] Segmentation fault with static PIE


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/22537] Segmentation fault with static PIE
Date: Thu, 19 Apr 2018 05:53:59 +0000

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

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Alan Modra <address@hidden>:

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

commit f6a8b8c7ac2d5369070a6b76a94ee0f3052433ff
Author: Alan Modra <address@hidden>
Date:   Thu Apr 19 14:13:41 2018 +0930

    PR22537, Segmentation fault with static PIE

    The only stub type that makes sense for undefined symbols, or those
    defined in shared libraries, is a plt call stub.  This patch arranges
    to have "destination" set to -1 on such symbols, making for an easy
    test in hppa_type_of_stub.

        PR 22537
        * elf32-hppa.c (elf32_hppa_size_stubs): Init "destination" to -1.
        (hppa_type_of_stub): Don't return a long branch stub for
        symbols other than those defined statically.

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