* config/powerpc/tm-ppc-eabi.h (ELF_OBJECT_FORMAT): Delete.
* rs6000-tdep.c (rs6000_push_arguments): Eliminate ELF_OBJECT_FORMAT ifdef.
This commit is contained in:
parent
7495d1dc3f
commit
cc9836a8aa
@ -1,3 +1,9 @@
|
||||
2002-04-08 Kevin Buettner <kevinb@redhat.com>
|
||||
|
||||
* config/powerpc/tm-ppc-eabi.h (ELF_OBJECT_FORMAT): Delete.
|
||||
* rs6000-tdep.c (rs6000_push_arguments): Eliminate
|
||||
ELF_OBJECT_FORMAT ifdef.
|
||||
|
||||
2002-04-08 Kevin Buettner <kevinb@redhat.com>
|
||||
|
||||
From Jimi X <jimix@watson.ibm.com>:
|
||||
|
@ -36,9 +36,6 @@
|
||||
#undef TEXT_SEGMENT_BASE
|
||||
#define TEXT_SEGMENT_BASE 1
|
||||
|
||||
/* Say that we're using ELF, not XCOFF. */
|
||||
#define ELF_OBJECT_FORMAT 1
|
||||
|
||||
/* The value of symbols of type N_SO and N_FUN maybe null when
|
||||
it shouldn't be. */
|
||||
#define SOFUN_ADDRESS_MAYBE_MISSING
|
||||
|
@ -1039,7 +1039,7 @@ rs6000_push_arguments (int nargs, struct value **args, CORE_ADDR sp,
|
||||
ran_out_of_registers_for_arguments:
|
||||
|
||||
saved_sp = read_sp ();
|
||||
#ifndef ELF_OBJECT_FORMAT
|
||||
|
||||
/* location for 8 parameters are always reserved. */
|
||||
sp -= wordsize * 8;
|
||||
|
||||
@ -1048,7 +1048,6 @@ ran_out_of_registers_for_arguments:
|
||||
|
||||
/* stack pointer must be quadword aligned */
|
||||
sp &= -16;
|
||||
#endif
|
||||
|
||||
/* if there are more arguments, allocate space for them in
|
||||
the stack, then push them starting from the ninth one. */
|
||||
|
Loading…
Reference in New Issue
Block a user