Adjust the register encoding in sparc-assem.S.
Thanks to John Long for providing access to a SPARC machine.
;;;; which is the SC number and offset encoded as an integer.
;;;; FIXME: this layout is hardcoded in some .S files,
-;;;; undefined_tramp in at least ppc-assem.S and mips-assem.S uses it.
+;;;; undefined_tramp in at least mips/ppc/sparc-assem.S uses it.
;;;; Ideally, it shouldn't be hardcoded.
(defconstant-eqx sc-offset-scn-byte (byte 6 0) #'equalp)
(defconstant-eqx sc-offset-offset-byte (byte 21 6) #'equalp)
unimp trap_Cerror
.byte 4
.byte UNDEFINED_FUN_ERROR
- .byte 254, sc_DescriptorReg, 3
+ .byte 254, sc_DescriptorReg, 6
.align 4
1:
ld [reg_FDEFN+FDEFN_RAW_ADDR_OFFSET], reg_CODE