aboutsummaryrefslogtreecommitdiff
path: root/gdb/go-lang.c
diff options
context:
space:
mode:
authorStafford Horne <shorne@gmail.com>2023-08-19 08:30:54 +0100
committerStafford Horne <shorne@gmail.com>2023-08-24 07:03:48 +0100
commit8eb7b3a7dbc24de0c9c938f00f2387351045cbdf (patch)
tree160834782a78894a0088c8253516a8fca9ae3fa1 /gdb/go-lang.c
parent21f8c9c1874f144bbe387874f586e61d4742e6eb (diff)
downloadbinutils-8eb7b3a7dbc24de0c9c938f00f2387351045cbdf.zip
binutils-8eb7b3a7dbc24de0c9c938f00f2387351045cbdf.tar.gz
binutils-8eb7b3a7dbc24de0c9c938f00f2387351045cbdf.tar.bz2
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
Diffstat (limited to 'gdb/go-lang.c')
0 files changed, 0 insertions, 0 deletions