Our hppa userland space register convention isn't as flat as it needs to be
for MASK_NO_SPACE_REGS. The assumption is that sr4-sr7 == process space id, but we have sr7 = kernel space id (0). This was inherited from OpenBSD. If sr4-sr7 == process space id, then ldw %r1(,%r2),%r3 and ldw %r2(,%r1),%r3 are equivlent for all values of %r1 and %r2. If the right compat stuff is in place we can change the space register convention and turn MASK_NO_SPACE_REGS back on.
This commit is contained in:
parent
f807e82573
commit
64001ed248
2
gnu/dist/gcc4/gcc/config.gcc
vendored
2
gnu/dist/gcc4/gcc/config.gcc
vendored
@ -857,7 +857,7 @@ hppa*-*-linux* | parisc*-*-linux*)
|
||||
fi
|
||||
;;
|
||||
hppa*-*-netbsd* | parisc*-*-netbsd*)
|
||||
target_cpu_default="MASK_PA_11 | MASK_NO_SPACE_REGS"
|
||||
target_cpu_default="MASK_PA_11"
|
||||
tm_file="${tm_file} dbxelf.h elfos.h svr4.h netbsd.h netbsd-elf.h \
|
||||
pa/pa-netbsd.h pa/pa32-regs.h pa/pa32-netbsd.h"
|
||||
tmake_file="${tmake_file} pa/t-netbsd"
|
||||
|
Loading…
Reference in New Issue
Block a user