public inbox for binutils-cvs@sourceware.org
 help / color / mirror / Atom feed
* [binutils-gdb] ld: microblaze: ignore rwx segments
@ 2023-10-04 15:39 Michael Eager
  0 siblings, 0 replies; only message in thread
From: Michael Eager @ 2023-10-04 15:39 UTC (permalink / raw)
  To: bfd-cvs

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

commit 2aafdd4de60e02dfa7b04fc0c6cc33ee90257700
Author: Neal Frager <neal.frager@amd.com>
Date:   Thu Sep 28 06:57:37 2023 +0100

    ld: microblaze: ignore rwx segments
    
    The linker will generate warnings if it is creating an executable
    stack or a segment with all three read, write and execute permissions.
    These settings are not appropriate for all targets including
    MicroBlaze.
    
    Signed-off-by: Neal Frager <neal.frager@amd.com>
    Signed-off-by: Michael J. Eager <eager@eagercon.com>

Diff:
---
 ld/configure.tgt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ld/configure.tgt b/ld/configure.tgt
index ff0aaaae257..3aa595ef130 100644
--- a/ld/configure.tgt
+++ b/ld/configure.tgt
@@ -55,6 +55,7 @@ if test "${ac_default_ld_warn_rwx_segments}" = unset; then
     cris-*-* | crisv32-*-* | \
     hppa*-*-* | \
     mips*-*-* | \
+    microblaze*-*-* | \
     sparc*-*-* | \
     v850*-*-*)
       ac_default_ld_warn_rwx_segments=0

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

only message in thread, other threads:[~2023-10-04 15:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-04 15:39 [binutils-gdb] ld: microblaze: ignore rwx segments Michael Eager

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).