Browse Source

V850 Linker: do not complain about RWX segments.

PR 29748
	* configure.tgt (ac_default_ld_warn_rwx_segments): Set to 0 for
	the V850.
gdb-13-branch
Nick Clifton 4 years ago
parent
commit
e26943f9c7
  1. 6
      ld/ChangeLog
  2. 5
      ld/configure.tgt

6
ld/ChangeLog

@ -1,3 +1,9 @@
2022-11-03 Nick Clifton <nickc@redhat.com>
PR 29748
* configure.tgt (ac_default_ld_warn_rwx_segments): Set to 0 for
the V850.
2022-11-03 Nick Clifton <nickc@redhat.com>
PR 29741

5
ld/configure.tgt

@ -47,7 +47,7 @@ targ64_extra_libpath=
if test "${ac_default_ld_warn_rwx_segments}" = unset; then
case "${targ}" in
# The CRIS default linker script yields just one segment
# The CRIS and V850 default linker scripts yields just one segment
# as intended, so a rwx segment warning is not helpful.
# The HPPA's and SPARC's PLT sections use a constructed trampoline
# hence it needs to have a RWX segment.
@ -55,7 +55,8 @@ if test "${ac_default_ld_warn_rwx_segments}" = unset; then
cris-*-* | crisv32-*-* | \
hppa*-*-* | \
mips*-*-* | \
sparc*-*-*)
sparc*-*-* | \
v850*-*-*)
ac_default_ld_warn_rwx_segments=0
;;
*)

Loading…
Cancel
Save