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/i386aout.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    11/* BFD back-end for i386 a.out binaries.
    2    Copyright 1990, 1991, 1992, 1994, 1996, 1997
     2   Copyright 1990, 1991, 1992, 1994, 1996, 1997, 2001, 2002, 2003
    33   Free Software Foundation, Inc.
    44
     
    2020
    2121
    22 /* The only 386 aout system we have here is GO32 from DJ. 
     22/* The only 386 aout system we have here is GO32 from DJ.
    2323   These numbers make BFD work with that. If your aout 386 system
    2424   doesn't work with these, we'll have to split them into different
     
    2727
    2828#define N_HEADER_IN_TEXT(x) 0
    29 #define BYTES_IN_WORD 4
    3029
    3130#define N_TXTOFF(x) 0x20
     
    4241#define DEFAULT_ARCH bfd_arch_i386
    4342
    44 #define MY(OP) CAT(i386aout_,OP)
     43/* Do not "beautify" the CONCAT* macro args.  Traditional C will not
     44   remove whitespace added here, and thus will fail to concatenate
     45   the tokens.  */
     46#define MY(OP) CONCAT2 (i386aout_,OP)
    4547#define TARGETNAME "a.out-i386"
    4648#define NO_WRITE_HEADER_KLUDGE 1
     
    5254#include "libaout.h"
    5355
     56static bfd_boolean i386aout_write_object_contents PARAMS ((bfd *));
     57static bfd_boolean MY (set_sizes) PARAMS ((bfd *));
     58
    5459/* Set the machine type correctly.  */
    5560
    56 static boolean
     61static bfd_boolean
    5762i386aout_write_object_contents (abfd)
    5863     bfd *abfd;
     
    6772  WRITE_HEADERS (abfd, execp);
    6873
    69   return true;
     74  return TRUE;
    7075}
    7176
    7277#define MY_write_object_contents i386aout_write_object_contents
    7378
    74 static boolean MY(set_sizes)();
    7579#define MY_backend_data &MY(backend_data)
    76 static CONST struct aout_backend_data MY(backend_data) = {
     80static const struct aout_backend_data MY(backend_data) = {
    7781  0,                            /* zmagic contiguous */
    7882  1,                            /* text incl header */
Note: See TracChangeset for help on using the changeset viewer.