* linux64.h (DEFAULT_PCC_STRUCT_RETURN): Define.
authorJan Hubicka <jh@suse.cz>
Sun, 27 Oct 2002 09:20:22 +0000 (10:20 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sun, 27 Oct 2002 09:20:22 +0000 (09:20 +0000)
From-SVN: r58579

gcc/ChangeLog
gcc/config/i386/linux64.h

index ef1dbff25b1d9c1d323766b5d5c01de3b3015e26..80f6262c22f90376aa362e3efcf79551c6519dcc 100644 (file)
@@ -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.
index 965120a1bb615ff4139a15d959679da4eeb95150..ae346e6d51837e40ea33a2864ab857e88b16557b 100644 (file)
@@ -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