[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.
- [Bug ld/29411] New: ld warning on SPARC: LOAD segment with RWX permissions, ro at gcc dot gnu.org, 2022/07/26
- [Bug ld/29411] ld warning on SPARC: LOAD segment with RWX permissions, cvs-commit at gcc dot gnu.org, 2022/07/26
- [Bug ld/29411] ld warning on SPARC: LOAD segment with RWX permissions, nickc at redhat dot com, 2022/07/26
- [Bug ld/29411] ld warning on SPARC: LOAD segment with RWX permissions, cvs-commit at gcc dot gnu.org, 2022/07/26
- [Bug ld/29411] ld warning on SPARC: LOAD segment with RWX permissions, ro at CeBiTec dot Uni-Bielefeld.DE, 2022/07/26
- [Bug ld/29411] ld warning on SPARC: LOAD segment with RWX permissions, nickc at redhat dot com, 2022/07/26
- [Bug ld/29411] ld warning on SPARC: LOAD segment with RWX permissions, ro at CeBiTec dot Uni-Bielefeld.DE, 2022/07/26
- [Bug ld/29411] ld warning on SPARC: LOAD segment with RWX permissions, ro at CeBiTec dot Uni-Bielefeld.DE, 2022/07/28
- [Bug ld/29411] ld warning on SPARC: LOAD segment with RWX permissions,
cvs-commit at gcc dot gnu.org <=
- [Bug ld/29411] ld warning on SPARC: LOAD segment with RWX permissions, cvs-commit at gcc dot gnu.org, 2022/07/29
- [Bug ld/29411] ld warning on SPARC: LOAD segment with RWX permissions, ro at gcc dot gnu.org, 2022/07/29