summaryrefslogtreecommitdiff
path: root/dis88/dis.h
diff options
context:
space:
mode:
Diffstat (limited to 'dis88/dis.h')
-rw-r--r--dis88/dis.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/dis88/dis.h b/dis88/dis.h
index 7815e06..aa91312 100644
--- a/dis88/dis.h
+++ b/dis88/dis.h
@@ -33,7 +33,9 @@
#include "a.out.h" /* Object file format definitions */
#include "ansi.h"
-#define MAXSYM 800 /* Maximum entries in symbol table */
+#define MAXSYM ((sizeof(int)-1)*32400/ \
+ (sizeof(struct nlist)+sizeof(struct reloc)))
+ /* Maximum entries in symbol table */
extern struct nlist /* Array to hold the symbol table */
symtab[MAXSYM];