mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
sim: bpf: fix testsuite due to linker warnings [PR sim/29954]
On a bpf-*-* testsuite fails: ./ld/ld-new: warning: test has a LOAD segment with RWX permissions Adjusting `--memory-size=10Mb' to the simulator bpf testsuite passes. Tested on bpf-*-*: Bug: https://sourceware.org/PR29954 sim/testsuite: * bpf/allinsn.exp (SIMFLAGS_FOR_TARGET): Adjust sim flags.
This commit is contained in:
committed by
Mike Frysinger
parent
404440d758
commit
7cbf35923d
@@ -6,10 +6,7 @@ sim_init
|
||||
set all_machs "bpf"
|
||||
|
||||
global SIMFLAGS_FOR_TARGET
|
||||
set SIMFLAGS_FOR_TARGET "--memory-size=4Mb"
|
||||
|
||||
global LDFLAGS_FOR_TARGET
|
||||
set LDFLAGS_FOR_TARGET "-Ttext=0x0"
|
||||
set SIMFLAGS_FOR_TARGET "--memory-size=10Mb"
|
||||
|
||||
foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.s]] {
|
||||
# If we're only testing specific files and this isn't one of them, skip it.
|
||||
|
||||
Reference in New Issue
Block a user