binutils-gdb/sim/testsuite
Stafford Horne 8eb7b3a7db sim: or1k: Eliminate dangerous RWX load segments
This fixes test failures caused by the new linker warning which report:

  ./ld/ld-new: warning: load.S.x has a LOAD segment with RWX permissions

Fix this by splitting the linker MEMORY into ram and rom to avoid
generating RWX sections.  This required tests to be adjusted to fix
issues with the move.  Namely:

  - fpu tests: were incorrectly using l.ori with ha(anchor) which now
    that we pushed the anchor up in memory it exposes the bug.  Update
    to used the correct l.movhi instruction instead.
  - adrp test: the test reports ram offset addresses, now that we have
    moved memory layout around a bit I adjusted the test output.  Some
    padding is added before pi to show that the actual address of pi and
    the adrp page offset are not the same.

Bug: https://sourceware.org/PR29957
2023-08-24 07:03:48 +01:00
..
aarch64
arm
avr
bfin
bpf bpf: sim: do not overflow instruction immediates in tests 2023-07-31 11:09:47 +02:00
common
config
cr16
cris
d10v
example-synacor
frv
ft32
h8300
iq2000
lib sim prune_warnings 2023-08-19 12:41:32 +09:30
lm32
m32c
m32r
m68hc11
mcore
microblaze
mips
mn10300
moxie
msp430
or1k sim: or1k: Eliminate dangerous RWX load segments 2023-08-24 07:03:48 +01:00
pru
riscv
sh
v850
.gitignore
ChangeLog-2021
local.mk