mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
bea80b013d
* aoutf1.h, libaout.h: Add M_386_DYNIX. * trad-core.c (TRAD_CORE_USER_OFFSET, TRAD_CORE_STACK_FILEPOS): New macros; use it if defined. * config/symmetry.mh, hosts/symmetry.h: New files.
24 lines
554 B
C
24 lines
554 B
C
/* Symmetry running either dynix 3.1 (bsd) or ptx (sysv). */
|
|
#include "hosts/std-host.h"
|
|
|
|
#include <string.h>
|
|
|
|
#define NBPG 4096
|
|
#define UPAGES 1
|
|
|
|
#ifdef _SEQUENT_
|
|
/* ptx */
|
|
#define HOST_TEXT_START_ADDR 0
|
|
#define HOST_STACK_END_ADDR 0x3fffe000
|
|
#else
|
|
/* dynix */
|
|
#define HOST_TEXT_START_ADDR 0x1000
|
|
#define HOST_STACK_END_ADDR 0x3ffff000
|
|
#endif
|
|
|
|
#define HOST_STACK_FILEPOS (NBPG * UPAGES) + (NBPG * (u.u_dsize - u.u_tsize))
|
|
|
|
/* This would be more clean as a separate bfd, but I doubt it's used for
|
|
corss-debugging anyway. */
|
|
#include "aout/dynix3.h"
|