diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2022-07-29 09:06:40 +0200 |
---|---|---|
committer | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2022-07-29 09:06:40 +0200 |
commit | b80b72c06c29d257b60b4002bd9d6c40dec94ec9 (patch) | |
tree | 883267316873d8e9901a11e0faf17a470f3b924c /gdb | |
parent | b245c595aaa59812f8f3a0e8b70ea5f52e045627 (diff) | |
download | binutils-b80b72c06c29d257b60b4002bd9d6c40dec94ec9.zip binutils-b80b72c06c29d257b60b4002bd9d6c40dec94ec9.tar.gz binutils-b80b72c06c29d257b60b4002bd9d6c40dec94ec9.tar.bz2 |
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.
Diffstat (limited to 'gdb')
0 files changed, 0 insertions, 0 deletions