aboutsummaryrefslogtreecommitdiff
path: root/gdb/rs6000-tdep.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2002-04-09 00:53:28 +0000
committerKevin Buettner <kevinb@redhat.com>2002-04-09 00:53:28 +0000
commitcc9836a8aaec1ed1bf4cb5dce7158eb4c1fcc940 (patch)
tree54cddb4d8b601f03dd50000385be36b66483c0a5 /gdb/rs6000-tdep.c
parent7495d1dc3f24a562979b1895add40babaa572b97 (diff)
downloadgdb-cc9836a8aaec1ed1bf4cb5dce7158eb4c1fcc940.zip
gdb-cc9836a8aaec1ed1bf4cb5dce7158eb4c1fcc940.tar.gz
gdb-cc9836a8aaec1ed1bf4cb5dce7158eb4c1fcc940.tar.bz2
* config/powerpc/tm-ppc-eabi.h (ELF_OBJECT_FORMAT): Delete.
* rs6000-tdep.c (rs6000_push_arguments): Eliminate ELF_OBJECT_FORMAT ifdef.
Diffstat (limited to 'gdb/rs6000-tdep.c')
-rw-r--r--gdb/rs6000-tdep.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c
index b96f1ad..18e6619 100644
--- a/gdb/rs6000-tdep.c
+++ b/gdb/rs6000-tdep.c
@@ -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. */