summaryrefslogtreecommitdiff
path: root/gcc/ginclude/va-sparc.h
diff options
context:
space:
mode:
authorDoug Evans <dje@gnu.org>1996-02-20 01:01:20 +0000
committerDoug Evans <dje@gnu.org>1996-02-20 01:01:20 +0000
commit1065f0abc12c9075c54996ceb937c32284371ac5 (patch)
tree00aba0f68d36ec969207127033f3574912a548cd /gcc/ginclude/va-sparc.h
parentf6a048b977cfa3e4a902c8278614af5ef077e192 (diff)
downloadgcc-1065f0abc12c9075c54996ceb937c32284371ac5.tar.gz
__sparc_v9__ renamed to __arch64__
From-SVN: r11324
Diffstat (limited to 'gcc/ginclude/va-sparc.h')
-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) */