public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug sim/29957] New: or1k custom linker script used in testsuite always triggers LOAD segment with RWX permissions warning
@ 2023-01-03  6:09 vapier at gentoo dot org
  2023-07-30 16:52 ` [Bug sim/29957] " sam at gentoo dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: vapier at gentoo dot org @ 2023-01-03  6:09 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=29957

            Bug ID: 29957
           Summary: or1k custom linker script used in testsuite always
                    triggers LOAD segment with RWX permissions warning
           Product: gdb
           Version: unknown
            Status: NEW
          Severity: normal
          Priority: P2
         Component: sim
          Assignee: unassigned at sourceware dot org
          Reporter: vapier at gentoo dot org
                CC: nickc at redhat dot com, shorne at gmail dot com, vapier at gentoo dot org
  Target Milestone: ---
            Target: or1k-elf

using the or1k-elf target, sim testsuite fails now due to linker warnings ever
since this change:
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=ba951afb99912da01a6e8434126b8fac7aa75107
Author: Nick Clifton <nickc@redhat.com>
Date:   Tue May 3 11:42:24 2022 +0100
Add a linker warning when creating potentially dangerous executable segments. 
Add tests, options to disabke and configure switches to choose defaults.

to reproduce:
$ or1k-elf-cc -Isim/testsuite/or1k -Wa,-Isim/testsuite/or1k -c -o load.S.o
sim/testsuite/or1k/load.S
$ ./ld/ld-new load.S.o -T sim/testsuite/or1k/or1k-test.ld -o load.S.x
./ld/ld-new: warning: load.S.x has a LOAD segment with RWX permissions

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-08-24  7:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-03  6:09 [Bug sim/29957] New: or1k custom linker script used in testsuite always triggers LOAD segment with RWX permissions warning vapier at gentoo dot org
2023-07-30 16:52 ` [Bug sim/29957] " sam at gentoo dot org
2023-08-19  7:29 ` shorne at sourceware dot org
2023-08-19 10:03 ` shorne at sourceware dot org
2023-08-24  7:20 ` shorne at sourceware dot org

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