OSDN Git Service

* config/rs6000/sysv4.h (RS6000_VARARGS_AREA): Only return non-zero
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 30 Jun 2005 14:22:41 +0000 (14:22 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 30 Jun 2005 14:22:41 +0000 (14:22 +0000)
if DEFAULT_ABI == ABI_V4.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101466 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/rs6000/sysv4.h

index 4897a1e..2f50e07 100644 (file)
@@ -1,3 +1,8 @@
+2005-06-30  Jakub Jelinek  <jakub@redhat.com>
+
+       * config/rs6000/sysv4.h (RS6000_VARARGS_AREA): Only return non-zero
+       if DEFAULT_ABI == ABI_V4.
+
 2005-06-30  Steven Bosscher  <stevenb@suse.de>
 
        * coretypes.h (tls_model): Add TLS_MODEL_NONE as 0.
index 4e3a50f..c95c952 100644 (file)
@@ -252,7 +252,9 @@ do {                                                                        \
 /* Size of the V.4 varargs area if needed.  */
 /* Override rs6000.h definition.  */
 #undef RS6000_VARARGS_AREA
-#define RS6000_VARARGS_AREA (current_function_stdarg ? RS6000_VARARGS_SIZE : 0)
+#define RS6000_VARARGS_AREA \
+  ((DEFAULT_ABI == ABI_V4 && current_function_stdarg)          \
+   ? RS6000_VARARGS_SIZE : 0)
 
 /* Override default big endianism definitions in rs6000.h.  */
 #undef BYTES_BIG_ENDIAN