1 |
/* BFD back-end for i386 a.out binaries. |
/* BFD back-end for i386 a.out binaries. |
2 |
Copyright 1990, 1991, 1993, 1994, 1995, 1997, 2001 |
Copyright 1990, 1991, 1993, 1994, 1995, 1997, 2001, 2002, 2003 |
3 |
Free Software Foundation, Inc. |
Free Software Foundation, Inc. |
4 |
|
|
5 |
This file is part of BFD, the Binary File Descriptor library. |
This file is part of BFD, the Binary File Descriptor library. |
28 |
#define SEGMENT_SIZE 0x1000 |
#define SEGMENT_SIZE 0x1000 |
29 |
#define TEXT_START_ADDR 0x10000 |
#define TEXT_START_ADDR 0x10000 |
30 |
#define ARCH 32 |
#define ARCH 32 |
|
#define BYTES_IN_WORD 4 |
|
31 |
/* This macro is only relevant when N_MAGIC(x) == ZMAGIC. */ |
/* This macro is only relevant when N_MAGIC(x) == ZMAGIC. */ |
32 |
#define N_HEADER_IN_TEXT(x) 1 |
#define N_HEADER_IN_TEXT(x) 1 |
33 |
|
|
49 |
#define MY(OP) CONCAT2 (i386mach3_,OP) |
#define MY(OP) CONCAT2 (i386mach3_,OP) |
50 |
#define TARGETNAME "a.out-mach3" |
#define TARGETNAME "a.out-mach3" |
51 |
|
|
52 |
static boolean MY (set_sizes) PARAMS ((bfd *)); |
static bfd_boolean MY (set_sizes) PARAMS ((bfd *)); |
53 |
#define MY_backend_data &MY(backend_data) |
#define MY_backend_data &MY(backend_data) |
54 |
static const struct aout_backend_data MY(backend_data) = { |
static const struct aout_backend_data MY(backend_data) = { |
55 |
0, /* zmagic contiguous */ |
0, /* zmagic contiguous */ |