2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2025-04-24 23:00:26 +08:00

Fix Irix6 EH failures, was broken by mips16 patch.

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

From-SVN: r18013
This commit is contained in:
Jim Wilson 1998-02-15 17:07:31 +00:00 committed by Jim Wilson
parent 9f8f10de39
commit c9b4de0677
2 changed files with 9 additions and 1 deletions
gcc
ChangeLog
config/mips

@ -1,3 +1,7 @@
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,