diff options
author | Steve Chamberlain <sac@cygnus> | 1991-12-01 02:29:45 +0000 |
---|---|---|
committer | Steve Chamberlain <sac@cygnus> | 1991-12-01 02:29:45 +0000 |
commit | 0227e9187ba62196cafdb14b5306d93e5cf3ed00 (patch) | |
tree | 5e2b8aa5903dfff07a9d2ee193d8355afa2d8e66 /include/aout/host.h | |
parent | 1484208fc1a0a87506abf0b17fb5e7b929dbfb26 (diff) | |
download | gdb-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.h | 22 |
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)*/ + |