aboutsummaryrefslogtreecommitdiff
path: root/include/coff
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1992-04-14 21:34:02 +0000
committerFred Fish <fnf@specifix.com>1992-04-14 21:34:02 +0000
commitf0e8711d9e3d33f04af5b7dfa9d2bd0fab7c36df (patch)
treefb1e488c14341e201af3778b6498a9eb3bc2a01b /include/coff
parent8616205a75594574f603d2cd52c5db7fbe3747f2 (diff)
downloadgdb-f0e8711d9e3d33f04af5b7dfa9d2bd0fab7c36df.zip
gdb-f0e8711d9e3d33f04af5b7dfa9d2bd0fab7c36df.tar.gz
gdb-f0e8711d9e3d33f04af5b7dfa9d2bd0fab7c36df.tar.bz2
Pick up SGI defines for langCplusplus, langCplusplusV2, stStruct, stUnion,
and stEnum. The last three are required to be able to build the current checked in gdb on a non-sgi machine.
Diffstat (limited to 'include/coff')
-rw-r--r--include/coff/ChangeLog33
-rw-r--r--include/coff/symconst.h14
2 files changed, 45 insertions, 2 deletions
diff --git a/include/coff/ChangeLog b/include/coff/ChangeLog
new file mode 100644
index 0000000..6e62fad
--- /dev/null
+++ b/include/coff/ChangeLog
@@ -0,0 +1,33 @@
+Tue Apr 14 14:30:05 1992 Fred Fish (fnf@cygnus.com)
+
+ * symconst.h: Pick up SGI defines for stStruct, stUnion, stEnum,
+ langCplusplus, and langCplusplusV2.
+
+Thu Apr 2 19:47:43 1992 John Gilmore (gnu at cygnus.com)
+
+ * sym.h, symconst.h: MIPS has provided redistributable versions
+ of these files. Thanks!
+ * ecoff-ext.h: Add weakext bit to match new sym.h.
+
+Fri Mar 6 00:10:46 1992 John Gilmore (gnu at cygnus.com)
+
+ * ecoff-ext.h: Add relative file descriptors.
+
+Thu Feb 27 11:53:04 1992 John Gilmore (gnu at cygnus.com)
+
+ * ecoff-ext.h: New file for external (in-file) form of ecoff
+ symbol structures.
+
+Thu Feb 6 11:33:32 1992 Steve Chamberlain (sac at rtl.cygnus.com)
+
+ * h8300.h: made the external_lineno l_lnno field 4 bytes wide.
+ andded GET/PUT_LINENO_LNNO macros
+
+Sat Nov 30 20:38:35 1991 Steve Chamberlain (sac at rtl.cygnus.com)
+
+ * ChangeLog, a29k.h, h8300.h, i386.h, i960.h, internal.h, m68k.h,
+ m88k.h, mips.h, rs6000.h: move from above coff-<foo>.h
+
+
+
+
diff --git a/include/coff/symconst.h b/include/coff/symconst.h
index ecd7835..8efdda1 100644
--- a/include/coff/symconst.h
+++ b/include/coff/symconst.h
@@ -1,3 +1,7 @@
+/* Declarations of constants for internal format of MIPS ECOFF symbols.
+ Originally contributed by MIPS Computer Systems and Third Eye Software.
+ Changes contributed by Cygnus Support are in the public domain. */
+
/*
* |-----------------------------------------------------------|
* | Copyright (c) 1992, 1991, 1990 MIPS Computer Systems, Inc.|
@@ -36,8 +40,10 @@
#define langAda 6
#define langPl1 7
#define langCobol 8
-#define langStdc 9
-#define langMax 10 /* maximun allowed 32 -- 5 bits */
+#define langStdc 9 /* FIXME: Collides with SGI langCplusplus
+#define langCplusplus 9 /* FIXME: Collides with langStdc */
+#define langCplusplusV2 10 /* SGI addition */
+#define langMax 11 /* maximun allowed 32 -- 5 bits */
/* The following are value definitions for the fields in the SYMR */
@@ -97,6 +103,10 @@
#define stStaticProc 14 /* load time only static procs */
#define stConstant 15 /* const */
#define stStaParam 16 /* Fortran static parameters */
+ /* Additions to match sgi version */
+#define stStruct 26 /* begin struct kind of stBlock */
+#define stUnion 27 /* begin Union kind of stBlock */
+#define stEnum 28 /* begin Enum kind of stBlock */
/* Psuedo-symbols - internal to debugger */
#define stStr 60 /* string */
#define stNumber 61 /* pure number (ie. 4 NOR 2+2) */