* 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 e771a2c1c9b72db98038563e6b723074e2edab1e..60c62f2be3b885d6d38fe86531507a4fc0abf3c1 100644 (file)
@@ -1,3 +1,8 @@
+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
index 16662fd628793d64e81aa514b7d17497a3cd8771..44d86825872c0dde66fcf631d4fd3366cca17815 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);