Commit c9b4de06 by Jim Wilson Committed by Jim Wilson

Fix Irix6 EH failures, was broken by mips16 patch.

	* mips/mips.h (INITIAL_ELIMINATION_OFFSET): Readd Jun 6 change.

From-SVN: r18013
parent 9f8f10de
Sun Feb 15 17:05:41 1998 Jim Wilson <wilson@cygnus.com>
* mips/mips.h (INITIAL_ELIMINATION_OFFSET): Readd Jun 6 change.
Sun Feb 15 15:23:15 1998 John Carr <jfc@mit.edu>
* alias.c: Include <stdlib.h> and <string.h>.
......
......@@ -2152,8 +2152,12 @@ extern struct mips_frame_info current_frame_info;
- ((mips_abi != ABI_32 && mips_abi != ABI_EABI) \
? current_function_pretend_args_size \
: 0)); \
/* Some ABIs store 64 bits to the stack, but Pmode is 32 bits, \
so we must add 4 bytes to the offset to get the right value. */ \
else if ((FROM) == RETURN_ADDRESS_POINTER_REGNUM) \
(OFFSET) = current_frame_info.gp_sp_offset; \
(OFFSET) = current_frame_info.gp_sp_offset \
+ ((UNITS_PER_WORD - (POINTER_SIZE / BITS_PER_UNIT)) \
* (BYTES_BIG_ENDIAN != 0)); \
}
/* If we generate an insn to push BYTES bytes,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment