Annotation of GNUtools/cc/config/i860/bsd.h, revision 1.1.1.1

1.1       root        1: #include "i860/i860.h"
                      2: 
                      3: #undef TARGET_VERSION
                      4: #define TARGET_VERSION fprintf (stderr, " (i860, BSD)")
                      5: 
                      6: /* BSD UN*X systems use BSD STABS debugging info.  */
                      7: 
                      8: #define DBX_DEBUGGING_INFO
                      9: 
                     10: #define ASCII_DATA_ASM_OP ".byte"
                     11: #define        ASM_OUTPUT_ASCII(f, p, size)    \
                     12: { register unsigned i;                 \
                     13:   int inside;                          \
                     14:   inside = FALSE;                      \
                     15:   for (i = 0; i < (size); i++) {       \
                     16:     if (i % 64 == 0) {                 \
                     17:       if (i != 0) {                    \
                     18:        if (inside)                     \
                     19:          putc('"', (f));               \
                     20:        putc('\n', (f));                \
                     21:        inside = FALSE;                 \
                     22:       }                                        \
                     23:       fprintf((f), "\t%s ", ASCII_DATA_ASM_OP);        \
                     24:     }                                  \
                     25:     if ((p)[i] < 32 || (p)[i] == '\\' || (p)[i] == '"' || (p)[i] >= 127) {     \
                     26:       if (inside) {                    \
                     27:        putc('"', (f));                 \
                     28:        inside = FALSE;                 \
                     29:       }                                        \
                     30:       if (i % 64 != 0)                 \
                     31:        putc(',', (f));                 \
                     32:       fprintf((f), "%d", (p)[i]);      \
                     33:     } else {                           \
                     34:       if (!inside) {                   \
                     35:        if (i % 64 != 0)                \
                     36:          putc(',', (f));               \
                     37:        putc('"', (f));                 \
                     38:        inside = TRUE;                  \
                     39:       }                                        \
                     40:       putc((p)[i], (f));               \
                     41:     }                                  \
                     42:   }                                    \
                     43:   if (inside)                          \
                     44:     putc('"', (f));                    \
                     45:   putc('\n', (f));                     \
                     46: }

unix.superglobalmegacorp.com

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