https://sourceware.org/bugzilla/show_bug.cgi?id=29955
Bug ID: 29955 Summary: microblaze linker always triggers LOAD segment with RWX permissions test by default Product: binutils Version: unspecified Status: NEW Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: vapier at gentoo dot org CC: eager at eagercon dot com, nickc at redhat dot com Target Milestone: --- Target: microblaze-elf using the microblaze-elf target, the 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 <ni...@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. simple test: $ cat test.s .bss .space 64 _stack: .data pass: .string "pass\n" .text .global _start _start: .byte 0x00 $ ./gas/as-new test.s -o test.o $ ./ld/ld-new test.o -o test ./ld/ld-new: warning: test has a LOAD segment with RWX permissions -- You are receiving this mail because: You are on the CC list for the bug.