mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-23 13:21:43 +08:00
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.
18 lines
381 B
Plaintext
18 lines
381 B
Plaintext
# eBPF simulator testsuite
|
|
|
|
sim_init
|
|
|
|
# all machines
|
|
set all_machs "bpf"
|
|
|
|
global SIMFLAGS_FOR_TARGET
|
|
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.
|
|
if ![runtest_file_p $runtests $src] {
|
|
continue
|
|
}
|
|
run_sim_test $src $all_machs
|
|
}
|