* ppcnbsd-tdep.c (ppcnbsd_init_abi): Don't set
authorJason Thorpe <thorpej@netbsd.org>
Sun, 2 Jun 2002 20:28:58 +0000 (20:28 +0000)
committerJason Thorpe <thorpej@netbsd.org>
Sun, 2 Jun 2002 20:28:58 +0000 (20:28 +0000)
use_struct_convention to ppc_sysv_abi_broken_use_struct_convention.

gdb/ChangeLog
gdb/ppcnbsd-tdep.c

index e771a2c..60c62f2 100644 (file)
@@ -1,5 +1,10 @@
 2002-06-02  Jason Thorpe  <thorpej@wasabisystems.com>
 
+       * ppcnbsd-tdep.c (ppcnbsd_init_abi): Don't set
+       use_struct_convention to ppc_sysv_abi_broken_use_struct_convention.
+
+2002-06-02  Jason Thorpe  <thorpej@wasabisystems.com>
+
        * config/rs6000/aix4.mt (TDEPFILES): Use ppc-sysv-tdep.o
        insetead of ppc-linux-tdep.o.
        * config/rs6000/rs6000.mt (TDEPFILES): Likewise.
index 16662fd..44d8682 100644 (file)
@@ -200,12 +200,6 @@ static void
 ppcnbsd_init_abi (struct gdbarch_info info,
                   struct gdbarch *gdbarch)
 {
-  /* Until November 2001, gcc was not complying to the SYSV ABI for
-     returning structures less than or equal to 8 bytes in size. It was
-     returning everything in memory. When this was corrected, it wasn't
-     fixed for native platforms.  */
-  set_gdbarch_use_struct_convention (gdbarch,
-                                   ppc_sysv_abi_broken_use_struct_convention);
 
   set_solib_svr4_fetch_link_map_offsets (gdbarch,
                                 nbsd_ilp32_solib_svr4_fetch_link_map_offsets);