s390.c (s390_frame_info): Allow large frame sizes for TARGET_64BIT.
* config/s390/s390.c (s390_frame_info): Allow large frame sizes for TARGET_64BIT. (s390_arg_frame_offset): Change return type to HOST_WIDE_INT. * config/s390/s390-protos.h (s390_arg_frame_offset): Likewise. From-SVN: r76360
This commit is contained in:
parent
ba46e66a8b
commit
0067d1217b
|
@ -1,3 +1,10 @@
|
|||
2004-01-22 Ulrich Weigand <uweigand@de.ibm.com>
|
||||
|
||||
* config/s390/s390.c (s390_frame_info): Allow large frame sizes
|
||||
for TARGET_64BIT.
|
||||
(s390_arg_frame_offset): Change return type to HOST_WIDE_INT.
|
||||
* config/s390/s390-protos.h (s390_arg_frame_offset): Likewise.
|
||||
|
||||
2004-01-22 Roger Sayle <roger@eyesopen.com>
|
||||
Paolo Bonzini <bonzini@gnu.org>
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
|
|||
|
||||
extern void optimization_options (int, int);
|
||||
extern void override_options (void);
|
||||
extern int s390_arg_frame_offset (void);
|
||||
extern HOST_WIDE_INT s390_arg_frame_offset (void);
|
||||
extern void s390_load_got (int);
|
||||
extern void s390_emit_prologue (void);
|
||||
extern void s390_emit_epilogue (void);
|
||||
|
|
|
@ -5303,7 +5303,7 @@ s390_frame_info (void)
|
|||
int i, j;
|
||||
HOST_WIDE_INT fsize = get_frame_size ();
|
||||
|
||||
if (fsize > 0x7fff0000)
|
||||
if (!TARGET_64BIT && fsize > 0x7fff0000)
|
||||
fatal_error ("Total size of local variables exceeds architecture limit.");
|
||||
|
||||
/* fprs 8 - 15 are caller saved for 64 Bit ABI. */
|
||||
|
@ -5376,7 +5376,7 @@ s390_frame_info (void)
|
|||
/* Return offset between argument pointer and frame pointer
|
||||
initially after prologue. */
|
||||
|
||||
int
|
||||
HOST_WIDE_INT
|
||||
s390_arg_frame_offset (void)
|
||||
{
|
||||
HOST_WIDE_INT fsize = get_frame_size ();
|
||||
|
|
Loading…
Reference in New Issue