Kyle McMartin
2005-Dec-02 23:12 UTC
[klibc] Fix invalid operands compile error in parisc/crt0.S
The iitlbp instruction needs the space register explicitly specified with newer toolchains. Specify sr0, but it doesn't really matter as the insn is just used to crash the program. Signed-off-by: Kyle McMartin <kyle@parisc-linux.org> diff --git a/klibc/arch/parisc/crt0.S b/klibc/arch/parisc/crt0.S index fb0bd37..7adc6c4 100644 --- a/klibc/arch/parisc/crt0.S +++ b/klibc/arch/parisc/crt0.S @@ -29,6 +29,6 @@ _start: bl __libc_init,%r2 nop /* break miserably if we ever return */ - iitlbp %r0,(%r0) /* illegal instruction */ + iitlbp %r0,(%sr0,%r0) /* illegal instruction */ nop .procend