aboutsummaryrefslogtreecommitdiff
path: root/include/aout/host.h
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1991-12-01 02:29:45 +0000
committerSteve Chamberlain <sac@cygnus>1991-12-01 02:29:45 +0000
commit0227e9187ba62196cafdb14b5306d93e5cf3ed00 (patch)
tree5e2b8aa5903dfff07a9d2ee193d8355afa2d8e66 /include/aout/host.h
parent1484208fc1a0a87506abf0b17fb5e7b929dbfb26 (diff)
downloadgdb-0227e9187ba62196cafdb14b5306d93e5cf3ed00.zip
gdb-0227e9187ba62196cafdb14b5306d93e5cf3ed00.tar.gz
gdb-0227e9187ba62196cafdb14b5306d93e5cf3ed00.tar.bz2
Initial revision
Diffstat (limited to 'include/aout/host.h')
-rw-r--r--include/aout/host.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/aout/host.h b/include/aout/host.h
new file mode 100644
index 0000000..5d3488a
--- /dev/null
+++ b/include/aout/host.h
@@ -0,0 +1,22 @@
+/* Parameters about the a.out format, based on the host system on which
+ the program is compiled. */
+
+/* Address of data segment in memory after it is loaded.
+ It is up to you to define SEGMENT_SIZE
+ on machines not listed here. */
+#ifndef SEGMENT_SIZE
+#if defined(hp300) || defined(pyr)
+#define SEGMENT_SIZE page_size
+#endif
+#ifdef sony
+#define SEGMENT_SIZE 0x1000
+#endif /* Sony. */
+#ifdef is68k
+#define SEGMENT_SIZE 0x20000
+#endif
+#if defined(m68k) && defined(PORTAR)
+#define PAGE_SIZE 0x400
+#define SEGMENT_SIZE PAGE_SIZE
+#endif
+#endif /*!defined(SEGMENT_SIZE)*/
+