Changeset 609 for branches/GNU/src/binutils/bfd/i386aout.c
- Timestamp:
- Aug 16, 2003, 6:59:22 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/binutils/bfd/i386aout.c
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r608 r609 1 1 /* 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 3 3 Free Software Foundation, Inc. 4 4 … … 20 20 21 21 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. 23 23 These numbers make BFD work with that. If your aout 386 system 24 24 doesn't work with these, we'll have to split them into different … … 27 27 28 28 #define N_HEADER_IN_TEXT(x) 0 29 #define BYTES_IN_WORD 430 29 31 30 #define N_TXTOFF(x) 0x20 … … 42 41 #define DEFAULT_ARCH bfd_arch_i386 43 42 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) 45 47 #define TARGETNAME "a.out-i386" 46 48 #define NO_WRITE_HEADER_KLUDGE 1 … … 52 54 #include "libaout.h" 53 55 56 static bfd_boolean i386aout_write_object_contents PARAMS ((bfd *)); 57 static bfd_boolean MY (set_sizes) PARAMS ((bfd *)); 58 54 59 /* Set the machine type correctly. */ 55 60 56 static b oolean61 static bfd_boolean 57 62 i386aout_write_object_contents (abfd) 58 63 bfd *abfd; … … 67 72 WRITE_HEADERS (abfd, execp); 68 73 69 return true;74 return TRUE; 70 75 } 71 76 72 77 #define MY_write_object_contents i386aout_write_object_contents 73 78 74 static boolean MY(set_sizes)();75 79 #define MY_backend_data &MY(backend_data) 76 static CONSTstruct aout_backend_data MY(backend_data) = {80 static const struct aout_backend_data MY(backend_data) = { 77 81 0, /* zmagic contiguous */ 78 82 1, /* text incl header */ -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.