1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-17 17:20:29 +02:00

Correct mips o32 abi that was broken when adding n32 abi support.

* lib/jit_mips.c: Correct cut&paste error that caused wrong
	stack offset calculation for double arguments in stack in
	the o32 abi.
	Correct typo in the __LITTLE_ENDIAN macro name, that came
	from cut&paste error in the original typo in lib/jit_ppc.c.

	* lib/jit_ia64.c, lib/jit_ppc.c: Correct typo in the
	__LITTLE_ENDIAN macro name.
This commit is contained in:
pcpa 2013-06-25 12:21:07 -03:00
parent d6110f6cf3
commit 8b28150303
4 changed files with 38 additions and 27 deletions

View file

@ -318,7 +318,7 @@ _jit_getarg_c(jit_state_t *_jit, jit_int32_t u, jit_node_t *v)
if (v->u.w < 8)
jit_extr_c(u, JIT_RA0 - v->u.w);
else {
#if __BYTE_ORDER == __LITTLE__ENDIAN
#if __BYTE_ORDER == __LITTLE_ENDIAN
jit_ldxi_c(u, JIT_FP, v->u.w);
#else
jit_ldxi_c(u, JIT_FP,