aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-07-19 04:55:21 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-07-19 04:55:21 +0000
commitbea80b013deed137522eac146fcc413a959166bf (patch)
tree37310086af802047796995b09e83eaf4c895fb21
parent3624a4e2affdec33cd6c68c73180772137e612e6 (diff)
downloadgdb-bea80b013deed137522eac146fcc413a959166bf.zip
gdb-bea80b013deed137522eac146fcc413a959166bf.tar.gz
gdb-bea80b013deed137522eac146fcc413a959166bf.tar.bz2
* coffcode.h: Recognize I386PTXMAGIC.
* 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.
-rw-r--r--bfd/ChangeLog8
-rw-r--r--bfd/hosts/symmetry.h23
2 files changed, 31 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 3f4a2b8..102ffb2 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,11 @@
+Sun Jul 18 19:42:14 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
+
+ * coffcode.h: Recognize I386PTXMAGIC.
+ * 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.
+
Fri Jul 16 14:56:31 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
* Rename elf{32,64}-generic.c to *-gen.c for 14 char filenames.
diff --git a/bfd/hosts/symmetry.h b/bfd/hosts/symmetry.h
new file mode 100644
index 0000000..fa26e8d
--- /dev/null
+++ b/bfd/hosts/symmetry.h
@@ -0,0 +1,23 @@
+/* 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"