diff options
| author | obrien <obrien@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-01-26 07:24:57 +0000 |
|---|---|---|
| committer | obrien <obrien@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-01-26 07:24:57 +0000 |
| commit | cbe0a0fe89b0b1f325ea80c8a9c5345898cec99c (patch) | |
| tree | 5cc3db018cfb2a33a161c69adfcf89a95968b271 | |
| parent | d20df0429d6fbc8dc97f92be6a847f090d97b1c4 (diff) | |
| download | ppe42-gcc-cbe0a0fe89b0b1f325ea80c8a9c5345898cec99c.tar.gz ppe42-gcc-cbe0a0fe89b0b1f325ea80c8a9c5345898cec99c.zip | |
2002-01-25 David O'Brien <obrien@FreeBSD.org>
* config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide
default setting.
* config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override
existing setting.
Approved by: Richard Henderson <rth@redhat.com>
Message-ID: <20020125174510.C18589@redhat.com>
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49242 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 7 | ||||
| -rw-r--r-- | gcc/config/i386/freebsd64.h | 9 | ||||
| -rw-r--r-- | gcc/config/i386/x86-64.h | 5 |
3 files changed, 7 insertions, 14 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ec9b4ad76e3..560d6e6fd53 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2002-01-25 David O'Brien <obrien@FreeBSD.org> + + * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide + default setting. + * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override + existing setting. + 2002-01-25 Geoffrey Keating <geoffk@redhat.com> * dbxout.c (dbxout_init): Use assemble_name rather than just diff --git a/gcc/config/i386/freebsd64.h b/gcc/config/i386/freebsd64.h index 3437e694d45..ebd6618ca78 100644 --- a/gcc/config/i386/freebsd64.h +++ b/gcc/config/i386/freebsd64.h @@ -41,12 +41,3 @@ Boston, MA 02111-1307, USA. */ %{!dynamic-linker:-dynamic-linker /usr/libexec/ld-elf.so.1}} \ %{static:-Bstatic}} \ %{symbolic:-Bsymbolic}" - -/* Grrr... x86-64.h gets this wrong and it shouldn't be trying to set this - policy... Restore to the FreeBSD/i386 setting. */ -/* Don't default to pcc-struct-return for IA-32 ELF code, because we need to - retain compatibility with older FreeBSD/i386 ELF gcc versions (even though - the SVR4 ABI for the i386 says that records and unions are returned in - memory). */ -#undef DEFAULT_PCC_STRUCT_RETURN -#define DEFAULT_PCC_STRUCT_RETURN 0 diff --git a/gcc/config/i386/x86-64.h b/gcc/config/i386/x86-64.h index 8c9912dc562..c6a83761c98 100644 --- a/gcc/config/i386/x86-64.h +++ b/gcc/config/i386/x86-64.h @@ -19,11 +19,6 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* The svr4 ABI for the i386 says that records and unions are returned - in memory. */ -#undef DEFAULT_PCC_STRUCT_RETURN -#define DEFAULT_PCC_STRUCT_RETURN 1 - #undef ASM_COMMENT_START #define ASM_COMMENT_START "#" |

