From: Jason Thorpe Date: Sun, 2 Jun 2002 20:28:58 +0000 (+0000) Subject: * ppcnbsd-tdep.c (ppcnbsd_init_abi): Don't set X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0ddd0135e664b7497c3712ecefd09a8eef0c55d3;p=binutils-gdb.git * ppcnbsd-tdep.c (ppcnbsd_init_abi): Don't set use_struct_convention to ppc_sysv_abi_broken_use_struct_convention. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e771a2c1c9b..60c62f2be3b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2002-06-02 Jason Thorpe + + * 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 * config/rs6000/aix4.mt (TDEPFILES): Use ppc-sysv-tdep.o diff --git a/gdb/ppcnbsd-tdep.c b/gdb/ppcnbsd-tdep.c index 16662fd6287..44d86825872 100644 --- a/gdb/ppcnbsd-tdep.c +++ b/gdb/ppcnbsd-tdep.c @@ -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);