binutils-gdb/sim/testsuite/or1k
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
..
add.S Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
adrp.S sim: or1k: Eliminate dangerous RWX load segments 2023-08-24 07:03:48 +01:00
alltests.exp Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
and.S Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
basic.S Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
ChangeLog-2021 sim: rename ChangeLog files to ChangeLog-2021 2021-08-17 20:27:36 -04:00
div.S Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
ext.S Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
find.S Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
flag.S Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
fpu64a32-unordered.S sim: or1k: Eliminate dangerous RWX load segments 2023-08-24 07:03:48 +01:00
fpu64a32.S sim: or1k: Eliminate dangerous RWX load segments 2023-08-24 07:03:48 +01:00
fpu-unordered.S sim: or1k: Eliminate dangerous RWX load segments 2023-08-24 07:03:48 +01:00
fpu.S Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
jump.S Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
load.S Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
mac.S Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
mfspr.S Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
mul.S Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
or1k-asm-test-env.h Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
or1k-asm-test-helpers.h Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
or1k-asm-test.h Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
or1k-asm.h Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
or1k-test.ld sim: or1k: Eliminate dangerous RWX load segments 2023-08-24 07:03:48 +01:00
or.S Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
ror.S Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
shift.S Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
spr-defs.h Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
sub.S Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
xor.S Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00