diff options
author | 2004-05-19 21:35:27 +0000 | |
---|---|---|
committer | 2004-05-19 21:35:27 +0000 | |
commit | 82e85a85fc11948a1cedb2d18ec1c0729073b7e4 (patch) | |
tree | dc74b5bb10a1d41331b71f16ad4aa690159fedeb | |
parent | stupid typo that prevented i686 pagezero code from being used. from art (diff) | |
download | wireguard-openbsd-82e85a85fc11948a1cedb2d18ec1c0729073b7e4.tar.xz wireguard-openbsd-82e85a85fc11948a1cedb2d18ec1c0729073b7e4.zip |
In __builtin_saveregs(), initialize __va_stk to a correct value.
-rw-r--r-- | gnu/egcs/gcc/config/m88k/m88k.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/egcs/gcc/config/m88k/m88k.c b/gnu/egcs/gcc/config/m88k/m88k.c index d504e9719fd..1ff84aa30a2 100644 --- a/gnu/egcs/gcc/config/m88k/m88k.c +++ b/gnu/egcs/gcc/config/m88k/m88k.c @@ -2648,7 +2648,9 @@ m88k_builtin_saveregs (arglist) emit_move_insn (change_address (block, Pmode, plus_constant (XEXP (block, 0), UNITS_PER_WORD)), - copy_to_reg (virtual_incoming_args_rtx)); + copy_to_reg (plus_constant( virtual_incoming_args_rtx, + UNITS_PER_WORD * + STARTING_FRAME_OFFSET))); /* Allocate the register space, and store it as the __va_reg member. */ addr = assign_stack_local (BLKmode, 8 * UNITS_PER_WORD, -1); |