]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[multiple changes]
authorJeffrey A Law <law@cygnus.com>
Mon, 22 Feb 1999 23:43:02 +0000 (23:43 +0000)
committerJeff Law <law@gcc.gnu.org>
Mon, 22 Feb 1999 23:43:02 +0000 (16:43 -0700)
        Thu Sep  3 00:23:21 1998  Richard Henderson  <rth@cygnus.com>
        * ginclude/va-alpha.h: Protect entire second portion of the
        file against double inclusion.
        Mon Aug 31 13:57:55 1998  Richard Henderson  <rth@cygnus.com>
        * alpha/va_list.h: New file.
        * alpha/x-alpha (EXTRA_HEADERS): New.  Add va_list.h.
        Sat Aug  1 17:59:30 1998  Richard Henderson  <rth@cygnus.com>
        * ginclude/va-alpha.h (va_list): Use a typedef, not a define.

From-SVN: r25384

gcc/ChangeLog
gcc/config/alpha/x-alpha
gcc/ginclude/va-alpha.h

index 9a9c915fc64e85eea0f1e8cefe7fae6e4c53ab48..4c64261c3f1885a8b2f7c96e7dd206ebf6da2689 100644 (file)
@@ -1,3 +1,16 @@
+Tue Feb 23 00:38:17 1999  Jeffrey A Law  (law@cygnus.com)
+
+       Thu Sep  3 00:23:21 1998  Richard Henderson  <rth@cygnus.com>
+       * ginclude/va-alpha.h: Protect entire second portion of the
+       file against double inclusion.
+
+       Mon Aug 31 13:57:55 1998  Richard Henderson  <rth@cygnus.com>
+       * alpha/va_list.h: New file.
+       * alpha/x-alpha (EXTRA_HEADERS): New.  Add va_list.h.
+
+       Sat Aug  1 17:59:30 1998  Richard Henderson  <rth@cygnus.com>
+       * ginclude/va-alpha.h (va_list): Use a typedef, not a define.
+
 Sun Feb 21 20:35:10 1999  Jeffrey A Law  (law@cygnus.com)
 
        Wed Oct 28 22:58:35 1998  Jason Merrill  <jason@yorick.cygnus.com>
index 99197479798075659cf08849156806373ab7237e..9686ab96472acf240add40fed9b44e57b6ecf175 100644 (file)
@@ -1 +1,2 @@
 CLIB=-lmld
+EXTRA_HEADERS = $(srcdir)/config/alpha/va_list.h
index 2a4ba60b53235b5e7bfa7380a7da19d12f521f1f..2528a712ada2c5f89646db2c835302a5733df661 100644 (file)
@@ -10,7 +10,6 @@
 #ifndef __GNUC_VA_LIST
 #define __GNUC_VA_LIST
 
-
 /* In VMS, __gnuc_va_list is simply char *; on OSF, it's a structure.  */
 
 #ifdef __VMS__
@@ -23,16 +22,19 @@ typedef struct {
 } __gnuc_va_list;
 #endif
 
-#endif /* not __GNUC_VA_LIST */
+#endif /* __GNUC_VA_LIST */
 
 /* If this is for internal libc use, don't define anything but
    __gnuc_va_list.  */
-#if defined (_STDARG_H) || defined (_VARARGS_H)
 
-#define va_list __gnuc_va_list
+#if !defined(__GNUC_VA_LIST_1) && (defined (_STDARG_H) || defined (_VARARGS_H))
+#define __GNUC_VA_LIST_1
+
 #define _VA_LIST
 #define _VA_LIST_
 
+typedef __gnuc_va_list va_list;
+
 #if !defined(_STDARG_H)
 
 /* varargs support */
@@ -63,8 +65,6 @@ typedef struct {
 
 #endif /* _STDARG_H */
 
-#ifndef va_end
-
 #define va_end(__va)   ((void) 0)
 
 /* Values returned by __builtin_classify_type.  */
@@ -92,8 +92,6 @@ enum {
   __lang_type_class
 };
 
-#endif
-
 /* Note that parameters are always aligned at least to a word boundary
    (when passed) regardless of what GCC's __alignof__ operator says.  */
 
@@ -127,5 +125,4 @@ enum {
 /* Copy __gnuc_va_list into another variable of this type.  */
 #define __va_copy(dest, src) (dest) = (src)
 
-#endif /* defined (_STDARG_H) || defined (_VARARGS_H) */
-
+#endif /* __GNUC_VA_LIST_1 */