]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* linux64.h (DEFAULT_PCC_STRUCT_RETURN): Define.
authorJan Hubicka <jh@suse.cz>
Sun, 27 Oct 2002 09:24:50 +0000 (10:24 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sun, 27 Oct 2002 09:24:50 +0000 (09:24 +0000)
From-SVN: r58580

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

index c5f7db3a8ce30f36cf077c84ae514075f0fbb8ae..c7096d97cafdd1a11da4b6cfa26218ed20887ae4 100644 (file)
@@ -1,3 +1,7 @@
+Sun Oct 27 10:12:27 CET 2002  Jan Hubicka  <jh@suse.cz>
+
+       * linux64.h (DEFAULT_PCC_STRUCT_RETURN):  Define.
+
 2002-10-25  Zack Weinberg  <zack@codesourcery.com>
 
        PR middle-end/6994
index 8a0bfbe925ad1d2c8955f455b2532f96dea556af..34c6d3cbd4d6c732714219f2eabd31bfb0b38e06 100644 (file)
@@ -30,6 +30,12 @@ Boston, MA 02111-1307, USA.  */
 #undef CPP_SPEC
 #define CPP_SPEC "%(cpp_cpu) %{fPIC:-D__PIC__ -D__pic__} %{fpic:-D__PIC__ -D__pic__} %{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT} %{!m32:-D__LONG_MAX__=9223372036854775807L}"
 
+/* 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