diff options
author | Jan Hubicka <jh@suse.cz> | 2002-10-27 10:20:22 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2002-10-27 09:20:22 +0000 |
commit | a0ba837ee72e2ba730e245434175203ad65ac245 (patch) | |
tree | f15902f18dace3b1b33885545d4c0b2df0fd135c /gcc | |
parent | cc0017a98304173d1d7ba32764086dfcbea8ce7b (diff) | |
download | gcc-a0ba837ee72e2ba730e245434175203ad65ac245.zip gcc-a0ba837ee72e2ba730e245434175203ad65ac245.tar.gz gcc-a0ba837ee72e2ba730e245434175203ad65ac245.tar.bz2 |
* linux64.h (DEFAULT_PCC_STRUCT_RETURN): Define.
From-SVN: r58579
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/i386/linux64.h | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ef1dbff..80f6262 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Sun Oct 27 10:15:24 CET 2002 Jan Hubicka <jh@suse.cz> + + * linux64.h (DEFAULT_PCC_STRUCT_RETURN): Define. + 2002-10-27 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> * Makefile.in (dwarf2out.o): Add dependendcy on hashtab.h. diff --git a/gcc/config/i386/linux64.h b/gcc/config/i386/linux64.h index 965120a..ae346e6 100644 --- a/gcc/config/i386/linux64.h +++ b/gcc/config/i386/linux64.h @@ -42,6 +42,12 @@ Boston, MA 02111-1307, USA. */ #undef CPP_SPEC #define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}" +/* The svr4 ABI for the i386 says that records and unions are returned + in memory. In the 64bit compilation we will turn this flag off in + override_options, as we never do pcc_struct_return scheme on this target. */ +#undef DEFAULT_PCC_STRUCT_RETURN +#define DEFAULT_PCC_STRUCT_RETURN 1 + /* Provide a LINK_SPEC. Here we provide support for the special GCC options -static and -shared, which allow us to link things in one of these three modes by applying the appropriate combinations of |