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
I have posted a patch for this to the list at: https://sourceware.org/pipermail/binutils/2023-August/129109.html
Fix ish pushed https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=8eb7b3a7dbc24de0c9c938f00f2387351045cbdf