public inbox for binutils-cvs@sourceware.org
 help / color / mirror / Atom feed
* [binutils-gdb] V850 Linker: do not complain about RWX segments.
@ 2022-11-03 16:27 Nick Clifton
  0 siblings, 0 replies; only message in thread
From: Nick Clifton @ 2022-11-03 16:27 UTC (permalink / raw)
  To: bfd-cvs

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

commit e26943f9c7285a453c5daf10ed078b2a014977c6
Author: Nick Clifton <nickc@redhat.com>
Date:   Thu Nov 3 16:26:52 2022 +0000

    V850 Linker: do not complain about RWX segments.
    
            PR 29748
            * configure.tgt (ac_default_ld_warn_rwx_segments): Set to 0 for
            the V850.

Diff:
---
 ld/ChangeLog     | 6 ++++++
 ld/configure.tgt | 5 +++--
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/ld/ChangeLog b/ld/ChangeLog
index 170ddb04418..8f0528ffb3c 100644
--- a/ld/ChangeLog
+++ b/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
diff --git a/ld/configure.tgt b/ld/configure.tgt
index 97639880d7e..741b246f67e 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
       ;;
     *)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-11-03 16:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-03 16:27 [binutils-gdb] V850 Linker: do not complain about RWX segments Nick Clifton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).