* config/powerpc/tm-ppc-eabi.h (ELF_OBJECT_FORMAT): Delete.
authorKevin Buettner <kevinb@redhat.com>
Tue, 9 Apr 2002 00:53:28 +0000 (00:53 +0000)
committerKevin Buettner <kevinb@redhat.com>
Tue, 9 Apr 2002 00:53:28 +0000 (00:53 +0000)
* rs6000-tdep.c (rs6000_push_arguments): Eliminate
ELF_OBJECT_FORMAT ifdef.

gdb/ChangeLog
gdb/config/powerpc/tm-ppc-eabi.h
gdb/rs6000-tdep.c

index e9dbffc157d9c3a55e3364603a9b675aec3569e8..70ef97c8f4ec65e44de615d6fc726a711e0c68f6 100644 (file)
@@ -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>:
index 92e41271fc1e3146037bf598e4c4fbb2facf526d..1e6a05366c7c7b53e170b2ca7eac1d9dad2f7e2d 100644 (file)
@@ -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
index b96f1add4068f1c9e6c8444286b04d33ea841784..18e6619bf931a8da9a9ce9272001a260f480cc01 100644 (file)
@@ -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. */
This page took 0.030296 seconds and 4 git commands to generate.