Annotation of gcc/va-mips.h, revision 1.1.1.3

1.1       root        1: /* ---------------------------------------- */
                      2: /*           VARARGS  for MIPS/GNU CC       */
                      3: /*                                          */
                      4: /*                                          */
                      5: /*                                          */
                      6: /*                                          */
                      7: /* ---------------------------------------- */
                      8: 
                      9: 
1.1.1.2   root       10: /* These macros implement traditional (non-ANSI) varargs
                     11:    for GNU C.  */
1.1       root       12: 
1.1.1.2   root       13: #define va_alist  __builtin_va_alist
                     14: #define va_dcl    int __builtin_va_alist;
                     15: #ifndef _VA_LIST_
                     16: #define _VA_LIST_
1.1.1.3 ! root       17: /* Make this a macro rather than a typedef, so we can undef any other defn.  */
        !            18: #define va_list __va___list
        !            19: typedef char * __va___list;
1.1.1.2   root       20: #endif
                     21: 
                     22: #define va_start(AP)  AP = (char *) &__builtin_va_alist
                     23: #define va_end(AP)
                     24: 
                     25: #ifdef lint    /* complains about constant in conditional context */
                     26: #define va_arg(list, mode) ((mode *)(list += sizeof(mode)))[-1]
                     27: 
                     28: #else          /* !lint */
                     29: #define va_arg(AP, mode) ((mode *)(AP = \
                     30:        (char *) (sizeof(mode) > 4 ? ((int)AP + 2*8 - 1) & -8 \
                     31:                                   : ((int)AP + 2*4 - 1) & -4)))[-1]
                     32: #endif         /* lint */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.