summaryrefslogtreecommitdiff
path: root/gcc/ginclude
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>1996-02-20 01:01:20 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>1996-02-20 01:01:20 +0000
commitc1a24e87248c79857b0cc22397d9ab2cc990b215 (patch)
tree00aba0f68d36ec969207127033f3574912a548cd /gcc/ginclude
parentb9a45ac3a6e36369785222a46ab607eb639f972b (diff)
downloadgcc-c1a24e87248c79857b0cc22397d9ab2cc990b215.tar.gz
__sparc_v9__ renamed to __arch64__
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11324 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ginclude')
-rw-r--r--gcc/ginclude/va-sparc.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/gcc/ginclude/va-sparc.h b/gcc/ginclude/va-sparc.h
index 40a24044033..7a394632d9e 100644
--- a/gcc/ginclude/va-sparc.h
+++ b/gcc/ginclude/va-sparc.h
@@ -6,7 +6,7 @@
#ifndef __GNUC_VA_LIST
#define __GNUC_VA_LIST
-#ifdef __sparc_v9__
+#ifdef __arch64__
typedef long long __va_greg;
typedef double __va_freg;
typedef struct {
@@ -26,7 +26,7 @@ typedef char * __gnuc_va_list;
i.e., we have to pass a `va_list' to vsprintf. */
typedef void * __gnuc_va_list;
#endif
-#endif /* not __sparc_v9__ */
+#endif /* not __arch64__ */
#endif /* not __GNUC_VA_LIST */
/* If this is for internal libc use, don't define anything but
@@ -35,7 +35,7 @@ typedef void * __gnuc_va_list;
#ifdef _STDARG_H
-#ifdef __sparc_v9__
+#ifdef __arch64__
#define va_start(AP, LASTARG) \
__extension__ \
({ \
@@ -57,14 +57,14 @@ __extension__ \
#define va_start(AP, LASTARG) \
(__builtin_saveregs (), AP = ((char *) __builtin_next_arg (LASTARG)))
#endif
-#endif /* not __sparc_v9__ */
+#endif /* not __arch64__ */
#else
#define va_alist __builtin_va_alist
#define va_dcl int __builtin_va_alist;...
-#ifdef __sparc_v9__
+#ifdef __arch64__
#define va_start(AP) \
__extension__ \
({ \
@@ -84,7 +84,7 @@ __extension__ \
#define va_start(AP) \
(__builtin_saveregs (), (AP) = ((char *) &__builtin_va_alist))
#endif
-#endif /* not __sparc_v9__ */
+#endif /* not __arch64__ */
#endif
@@ -129,7 +129,7 @@ enum __va_type_classes {
in the stack are made to be word-aligned; for an aggregate that is
not word-aligned, we advance the pointer to the first non-reg slot. */
-#ifdef __sparc_v9__
+#ifdef __arch64__
#define va_arg(pvar,TYPE) \
__extension__ \
@@ -173,7 +173,7 @@ __extension__ \
} \
(TYPE *) __result;}))
-#else /* not __sparc_v9__ */
+#else /* not __arch64__ */
#define __va_rounded_size(TYPE) \
(((sizeof (TYPE) + sizeof (int) - 1) / sizeof (int)) * sizeof (int))
@@ -198,6 +198,6 @@ __extension__ \
(TYPE *) (void *) __u.__d; }) \
: ((pvar) = (char *)(pvar) + __va_rounded_size (TYPE), \
((TYPE *) (void *) ((char *)(pvar) - __va_rounded_size (TYPE)))));}))
-#endif /* not __sparc_v9__ */
+#endif /* not __arch64__ */
#endif /* defined (_STDARG_H) || defined (_VARARGS_H) */