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:
skrll 2006-09-22 13:11:57 +00:00
parent f807e82573
commit 64001ed248
1 changed files with 1 additions and 1 deletions

View File

@ -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"