aboutsummaryrefslogtreecommitdiff
path: root/include/a.out.sun4.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/a.out.sun4.h')
-rwxr-xr-xinclude/a.out.sun4.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/a.out.sun4.h b/include/a.out.sun4.h
index 3ba363d..4ce569d 100755
--- a/include/a.out.sun4.h
+++ b/include/a.out.sun4.h
@@ -10,7 +10,7 @@
/* Offset in a.out file of the text section. For ZMAGIC, the text section
actually includes the a.out header. */
-#define N_TXTOFF(x) ( (N_MAGIC((x)) == ZMAGIC) ? 0 : sizeof(struct exec) )
+#define N_TXTOFF(x) ( (N_MAGIC((x)) == ZMAGIC) ? 0 : EXEC_BYTES_SIZE)
/* Virtual Address of text segment from the a.out file. For OMAGIC,
(almost always "unlinked .o's" these days), should be zero.