aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorGuillermo E. Martinez <guillermo.e.martinez@oracle.com>2023-01-04 15:41:09 -0600
committerMike Frysinger <vapier@gentoo.org>2023-01-04 20:54:14 -0500
commit7cbf35923d31f1f02e69131a9e0f6f065ad8053c (patch)
tree27bfd5d10f13bd441eb039a6ab2080ed4bb26694 /sim
parent404440d758dffe6cfdb2a9b5142cf88200efe15a (diff)
downloadgdb-7cbf35923d31f1f02e69131a9e0f6f065ad8053c.zip
gdb-7cbf35923d31f1f02e69131a9e0f6f065ad8053c.tar.gz
gdb-7cbf35923d31f1f02e69131a9e0f6f065ad8053c.tar.bz2
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.
Diffstat (limited to 'sim')
-rw-r--r--sim/testsuite/bpf/allinsn.exp5
1 files changed, 1 insertions, 4 deletions
diff --git a/sim/testsuite/bpf/allinsn.exp b/sim/testsuite/bpf/allinsn.exp
index 98f0346..1da0b97 100644
--- a/sim/testsuite/bpf/allinsn.exp
+++ b/sim/testsuite/bpf/allinsn.exp
@@ -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.