Skip to content

Commit 7cbf359

Browse files
gemaqvapier
authored andcommitted
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.
1 parent 404440d commit 7cbf359

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

sim/testsuite/bpf/allinsn.exp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@ sim_init
66
set all_machs "bpf"
77

88
global SIMFLAGS_FOR_TARGET
9-
set SIMFLAGS_FOR_TARGET "--memory-size=4Mb"
10-
11-
global LDFLAGS_FOR_TARGET
12-
set LDFLAGS_FOR_TARGET "-Ttext=0x0"
9+
set SIMFLAGS_FOR_TARGET "--memory-size=10Mb"
1310

1411
foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.s]] {
1512
# If we're only testing specific files and this isn't one of them, skip it.

0 commit comments

Comments
 (0)