From cc9836a8aaec1ed1bf4cb5dce7158eb4c1fcc940 Mon Sep 17 00:00:00 2001 From: Kevin Buettner Date: Tue, 9 Apr 2002 00:53:28 +0000 Subject: [PATCH] * config/powerpc/tm-ppc-eabi.h (ELF_OBJECT_FORMAT): Delete. * rs6000-tdep.c (rs6000_push_arguments): Eliminate ELF_OBJECT_FORMAT ifdef. --- gdb/ChangeLog | 6 ++++++ gdb/config/powerpc/tm-ppc-eabi.h | 3 --- gdb/rs6000-tdep.c | 3 +-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e9dbffc157d..70ef97c8f4e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2002-04-08 Kevin Buettner + + * 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 From Jimi X : diff --git a/gdb/config/powerpc/tm-ppc-eabi.h b/gdb/config/powerpc/tm-ppc-eabi.h index 92e41271fc1..1e6a05366c7 100644 --- a/gdb/config/powerpc/tm-ppc-eabi.h +++ b/gdb/config/powerpc/tm-ppc-eabi.h @@ -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 diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c index b96f1add406..18e6619bf93 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. */ -- 2.30.2