diff options
author | David MacKenzie <djm@cygnus> | 1993-12-31 21:11:49 +0000 |
---|---|---|
committer | David MacKenzie <djm@cygnus> | 1993-12-31 21:11:49 +0000 |
commit | 696df58f2d15aad7fc71e051a34488aaf092380f (patch) | |
tree | ad5cdc48f0b7569083de9b0fd7e5b102b3003e73 | |
parent | 41566209643fd0f06bc13ef2900b2428740cf35b (diff) | |
download | gdb-696df58f2d15aad7fc71e051a34488aaf092380f.zip gdb-696df58f2d15aad7fc71e051a34488aaf092380f.tar.gz gdb-696df58f2d15aad7fc71e051a34488aaf092380f.tar.bz2 |
* i386mach3.c (N_TXTADDR): Don't define after all.
(TEXT_START_ADDR): Don't include exec header size in value.
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/i386mach3.c | 10 |
2 files changed, 10 insertions, 5 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index c539c92..ef3539b 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +Fri Dec 31 11:46:13 1993 David J. Mackenzie (djm@thepub.cygnus.com) + + * i386mach3.c (N_TXTADDR): Don't define after all. + (TEXT_START_ADDR): Don't include exec header size in value. + Thu Dec 30 15:47:54 1993 David J. Mackenzie (djm@thepub.cygnus.com) * i386mach3.c (N_TXTADDR): Define. diff --git a/bfd/i386mach3.c b/bfd/i386mach3.c index 4a4ba28..af08827 100644 --- a/bfd/i386mach3.c +++ b/bfd/i386mach3.c @@ -23,14 +23,14 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ from i386aout or i386bsd. So this target is only useful if it is the default target. */ -#define PAGE_SIZE 1 /* 4096 */ -#define SEGMENT_SIZE 0 /* PAGE_SIZE*/ -#define TEXT_START_ADDR 0x10020 +#define PAGE_SIZE 1 +#define SEGMENT_SIZE 0 +#define TEXT_START_ADDR 0x10000 #define ARCH 32 #define BYTES_IN_WORD 4 -#define N_HEADER_IN_TEXT(x) 1 /* (N_MAGIC(x) == ZMAGIC) */ +/* This macro is only relevant when N_MAGIC(x) == ZMAGIC. */ +#define N_HEADER_IN_TEXT(x) 1 -#define N_TXTADDR(x) 0x10000 #define N_TXTSIZE(x) ((x).a_text) #include "bfd.h" |