aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2022-11-03 16:26:52 +0000
committerNick Clifton <nickc@redhat.com>2022-11-03 16:27:31 +0000
commite26943f9c7285a453c5daf10ed078b2a014977c6 (patch)
tree10e40528af039456f457c2cb82a9b01e9298dde7 /ld
parentb830591caf0db7bb416f0be3145b00db6ba1ea4c (diff)
downloadbinutils-e26943f9c7285a453c5daf10ed078b2a014977c6.zip
binutils-e26943f9c7285a453c5daf10ed078b2a014977c6.tar.gz
binutils-e26943f9c7285a453c5daf10ed078b2a014977c6.tar.bz2
V850 Linker: do not complain about RWX segments.
PR 29748 * configure.tgt (ac_default_ld_warn_rwx_segments): Set to 0 for the V850.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog6
-rw-r--r--ld/configure.tgt5
2 files changed, 9 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 170ddb0..8f0528f 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,11 @@
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
* scripttempl/avr.sc (__DATA_REGION_ORIGIN__): Define. If a value
has not been provided on the command line then use DATA_ORIGIN.
diff --git a/ld/configure.tgt b/ld/configure.tgt
index 9763988..741b246 100644
--- a/ld/configure.tgt
+++ b/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
;;
*)