Ignore:
Timestamp:
Aug 16, 2003, 6:59:22 PM (22 years ago)
Author:
bird
Message:

binutils v2.14 - offical sources.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/binutils/bfd/gen-aout.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    11/* Generate parameters for an a.out system.
    2    Copyright 1990, 1991, 1992, 1993, 1994, 1995
     2   Copyright 1990, 1991, 1992, 1993, 1994, 1995, 2001
    33   Free Software Foundation, Inc.
    44
     
    2121#include "/usr/include/a.out.h"
    2222#include <stdio.h>
     23
     24#ifndef _
     25#define _(X) X
     26#endif
    2327
    2428int
     
    8892      arch = "unknown";
    8993    }
    90   printf("#define DEFAULT_ARCH bfd_arch_%s\n", arch);
     94  printf("#define DEFAULT_ARCH bfd_arch_%s\n\n", arch);
    9195
    92   printf("\n#define MY(OP) CAT(%s_,OP)\n", target);
     96  printf("/* Do not \"beautify\" the CONCAT* macro args.  Traditional C will not");
     97  printf("   remove whitespace added here, and thus will fail to concatenate");
     98  printf("   the tokens.  */");
     99  printf("\n#define MY(OP) CONCAT2 (%s_,OP)\n\n", target);
    93100  printf("#define TARGETNAME \"a.out-%s\"\n\n", target);
    94101
Note: See TracChangeset for help on using the changeset viewer.