[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/29956] New: mn10300 linker always triggers LOAD segment with RWX
From: |
vapier at gentoo dot org |
Subject: |
[Bug ld/29956] New: mn10300 linker always triggers LOAD segment with RWX permissions test by default |
Date: |
Tue, 03 Jan 2023 05:40:45 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=29956
Bug ID: 29956
Summary: mn10300 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: aoliva at sourceware dot org, nickc at redhat dot com
Target Milestone: ---
Target: mn10300-elf
using the mn10300-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.
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.
- [Bug ld/29956] New: mn10300 linker always triggers LOAD segment with RWX permissions test by default,
vapier at gentoo dot org <=