bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/29411] ld warning on SPARC: LOAD segment with RWX permissions


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/29411] ld warning on SPARC: LOAD segment with RWX permissions
Date: Fri, 29 Jul 2022 07:05:42 +0000

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

--- Comment #8 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The binutils-2_39-branch branch has been updated by Rainer Orth
<ro@sourceware.org>:

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

commit 4b596a7719bfa1bcb8781f59faba66a20c4ab2da
Author: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Date:   Fri Jul 29 09:04:59 2022 +0200

    ld: Extend ac_default_ld_warn_rwx_segments to all SPARC targets [PR29411]

    As discussed in PR ld/29411, the ld warning

            [...] has a LOAD segment with RWX permissions

    needs to be disabled on all SPARC targets, not just Solaris/SPARC: the
    .plt section is required to be RWX by the 32-bit SPARC ELF psABI and the
    64-bit SPARC Compliance Definition 2.4.1.  Given that ld only supports
    SPARC ELF targets, this patch implements this.

    Tested on sparc64-unknown-linux-gnu and sparc-sun-solaris2.11.

    2022-07-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

            ld:
            PR ld/29411
            * configure.tgt (ac_default_ld_warn_rwx_segments): Extend to all
            sparc targets.  Expand comment.

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