summaryrefslogtreecommitdiff
path: root/ld/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'ld/config.h')
-rw-r--r--ld/config.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/ld/config.h b/ld/config.h
index 1629ba3..a36e010 100644
--- a/ld/config.h
+++ b/ld/config.h
@@ -17,13 +17,18 @@
#undef HOST_8BIT /* enable some 8-bit optimizations */
-#ifndef __BCC__
+#ifndef __AS386_16__
#define S_ALIGNMENT 4 /* source memory alignment, power of 2 */
/* don't use for 8 bit processors */
/* don't use even for 80386 - overhead for */
/* alignment cancels improved access */
#endif
+/* Any machine can use long offsets but i386 needs them */
+#ifdef I80386
+#define LONG_OFFSETS
+#endif
+
/* these must be defined to suit the source libraries */
#define CREAT_PERMS 0666 /* permissions for creat() */