aboutsummaryrefslogtreecommitdiff
path: root/bfd/i386mach3.c
diff options
context:
space:
mode:
authorDavid MacKenzie <djm@cygnus>1993-12-31 21:11:49 +0000
committerDavid MacKenzie <djm@cygnus>1993-12-31 21:11:49 +0000
commit696df58f2d15aad7fc71e051a34488aaf092380f (patch)
treead5cdc48f0b7569083de9b0fd7e5b102b3003e73 /bfd/i386mach3.c
parent41566209643fd0f06bc13ef2900b2428740cf35b (diff)
downloadgdb-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.
Diffstat (limited to 'bfd/i386mach3.c')
-rw-r--r--bfd/i386mach3.c10
1 files changed, 5 insertions, 5 deletions
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"