| 1 | /* Symmetry running either dynix 3.1 (bsd) or ptx (sysv). */ |
| 2 | #include "hosts/std-host.h" |
| 3 | |
| 4 | #include <string.h> |
| 5 | |
| 6 | #define NBPG 4096 |
| 7 | #define UPAGES 1 |
| 8 | |
| 9 | #ifdef _SEQUENT_ |
| 10 | /* ptx */ |
| 11 | #define HOST_TEXT_START_ADDR 0 |
| 12 | #define HOST_STACK_END_ADDR 0x3fffe000 |
| 13 | #else |
| 14 | /* dynix */ |
| 15 | #define HOST_TEXT_START_ADDR 0x1000 |
| 16 | #define HOST_STACK_END_ADDR 0x3ffff000 |
| 17 | #endif |
| 18 | |
| 19 | #define HOST_STACK_FILEPOS (NBPG * UPAGES) + (NBPG * (u.u_dsize - u.u_tsize)) |
| 20 | |
| 21 | /* This would be more clean as a separate bfd, but I doubt it's used for |
| 22 | corss-debugging anyway. */ |
| 23 | #include "aout/dynix3.h" |