for internalcoff, separately from the various external coff's.
* amdcoff.h, bcs88kcoff.h, i386coff.h, intel-coff.h, m68kcoff.h,
m88k-bcs.h: Prefix SYMNMLEN, FILNMLEN, and DIMNUM with E_'s for
the external struct definitions.
* ecoff.h: Remove these #define's, kludge no longer needed.
/********************** SYMBOLS **********************/
-#define SYMNMLEN 8 /* # characters in a symbol name */
-#define FILNMLEN 14 /* # characters in a file name */
-#define DIMNUM 4 /* # array dimensions in auxiliary entry */
+#define E_SYMNMLEN 8 /* # characters in a symbol name */
+#define E_FILNMLEN 14 /* # characters in a file name */
+#define E_DIMNUM 4 /* # array dimensions in auxiliary entry */
struct syment {
union {
- char _n_name[SYMNMLEN]; /* old COFF version */
+ char _n_name[E_SYMNMLEN]; /* old COFF version */
struct {
long _n_zeroes; /* new == 0 */
long _n_offset; /* offset into string table */
long x_endndx; /* entry ndx past block end */
} x_fcn;
struct { /* if ISARY, up to 4 dimen. */
- unsigned short x_dimen[DIMNUM];
+ unsigned short x_dimen[E_DIMNUM];
} x_ary;
} x_fcnary;
unsigned short x_tvndx; /* tv index */
} x_sym;
union {
- char x_fname[FILNMLEN];
+ char x_fname[E_FILNMLEN];
struct {
long x_zeroes;
long x_offset;
** Symbol entry declaration and related definitions
*/
-#define SYMNMLEN 8 /* Number of characters in a symbol name */
+#define E_SYMNMLEN 8 /* Number of characters in a symbol name */
struct external_syment
{
union {
- char e_name[SYMNMLEN];
+ char e_name[E_SYMNMLEN];
struct {
char e_zeroes[4];
char e_offset[4];
** definitions.
*/
-#define FILNMLEN 14 /* # characters in a file name */
-#define DIMNUM 4 /* # array dimensions in auxiliary entry */
+#define E_FILNMLEN 14 /* # characters in a file name */
+#define E_DIMNUM 4 /* # array dimensions in auxiliary entry */
union external_auxent {
struct {
char x_endndx[4]; /* entry ndx past block end */
} x_fcn;
struct { /* if ISARY, up to 4 dimen. */
- char x_dimen[DIMNUM][2];
+ char x_dimen[E_DIMNUM][2];
} x_ary;
} x_fcnary;
char x_tvndx[2]; /* tv index */
} x_sym;
union {
- char x_fname[FILNMLEN];
+ char x_fname[E_FILNMLEN];
struct {
char x_zeroes[4];
char x_offset[4];
/********************** SYMBOLS **********************/
-#define SYMNMLEN 8 /* # characters in a symbol name */
-#define FILNMLEN 14 /* # characters in a file name */
-#define DIMNUM 4 /* # array dimensions in auxiliary entry */
+#define E_SYMNMLEN 8 /* # characters in a symbol name */
+#define E_FILNMLEN 14 /* # characters in a file name */
+#define E_DIMNUM 4 /* # array dimensions in auxiliary entry */
struct external_syment
{
union {
- char e_name[SYMNMLEN];
+ char e_name[E_SYMNMLEN];
struct {
char e_zeroes[4];
char e_offset[4];
char x_endndx[4]; /* entry ndx past block end */
} x_fcn;
struct { /* if ISARY, up to 4 dimen. */
- char x_dimen[DIMNUM][2];
+ char x_dimen[E_DIMNUM][2];
} x_ary;
} x_fcnary;
char x_tvndx[2]; /* tv index */
} x_sym;
union {
- char x_fname[FILNMLEN];
+ char x_fname[E_FILNMLEN];
struct {
char x_zeroes[4];
char x_offset[4];
/********************** SYMBOLS **********************/
-#define SYMNMLEN 8 /* # characters in a symbol name */
-#define FILNMLEN 14 /* # characters in a file name */
-#define DIMNUM 4 /* # array dimensions in auxiliary entry */
+#define E_SYMNMLEN 8 /* # characters in a symbol name */
+#define E_FILNMLEN 14 /* # characters in a file name */
+#define E_DIMNUM 4 /* # array dimensions in auxiliary entry */
struct external_syment
{
union {
- char e_name[SYMNMLEN];
+ char e_name[E_SYMNMLEN];
struct {
char e_zeroes[4];
char e_offset[4];
char x_endndx[4]; /* entry ndx past block end */
} x_fcn;
struct { /* if ISARY, up to 4 dimen. */
- char x_dimen[DIMNUM][2];
+ char x_dimen[E_DIMNUM][2];
} x_ary;
} x_fcnary;
char x_tvndx[2]; /* tv index */
} x_sym;
union {
- char x_fname[FILNMLEN];
+ char x_fname[E_FILNMLEN];
struct {
char x_zeroes[4];
char x_offset[4];
/********************** SYMBOLS **********************/
-#define SYMNMLEN 8 /* # characters in a symbol name */
-#define FILNMLEN 14 /* # characters in a file name */
-#define DIMNUM 4 /* # array dimensions in auxiliary entry */
+#define E_SYMNMLEN 8 /* # characters in a symbol name */
+#define E_FILNMLEN 14 /* # characters in a file name */
+#define E_DIMNUM 4 /* # array dimensions in auxiliary entry */
struct external_syment
{
union {
- char e_name[SYMNMLEN];
+ char e_name[E_SYMNMLEN];
struct {
char e_zeroes[4];
char e_offset[4];
char x_endndx[4]; /* entry ndx past block end */
} x_fcn;
struct { /* if ISARY, up to 4 dimen. */
- char x_dimen[DIMNUM][2];
+ char x_dimen[E_DIMNUM][2];
} x_ary;
} x_fcnary;
char x_tvndx[2]; /* tv index */
} x_sym;
union {
- char x_fname[FILNMLEN];
+ char x_fname[E_FILNMLEN];
struct {
char x_zeroes[4];
char x_offset[4];
/********************** SYMBOLS **********************/
-#define SYMNMLEN 8 /* # characters in a symbol name */
-#define FILNMLEN 14 /* # characters in a file name */
-#define DIMNUM 4 /* # array dimensions in auxiliary entry */
+#define E_SYMNMLEN 8 /* # characters in a symbol name */
+#define E_FILNMLEN 14 /* # characters in a file name */
+#define E_DIMNUM 4 /* # array dimensions in auxiliary entry */
struct external_syment
{
union {
- char e_name[SYMNMLEN];
+ char e_name[E_SYMNMLEN];
struct {
char e_zeroes[4];
char e_offset[4];
/* 12 */
union {
struct { /* if ISARY, up to 4 dimen. */
- char x_dimen[DIMNUM][2];
+ char x_dimen[E_DIMNUM][2];
} x_ary;
} x_fcnary;
/* 20 */
} x_sym;
union {
- char x_fname[FILNMLEN];
+ char x_fname[E_FILNMLEN];
struct {
char x_zeroes[4];
char x_offset[4];
#define RELOC struct external_reloc
#define RELSZ 12
-
-/* These definitions are not used in ecoff, but they make it possible
- for ecoff to use the same "internalcoff.h" as other coff implementations. */
-
-#define SYMNMLEN 8 /* # characters in a symbol name */
-#define FILNMLEN 14 /* # characters in a file name */
-#define DIMNUM 4 /* # array dimensions in auxiliary entry */
-
/********************** SYMBOLS **********************/
+#define SYMNMLEN 8 /* # characters in a symbol name */
+#define FILNMLEN 14 /* # characters in a file name */
+#define DIMNUM 4 /* # array dimensions in auxiliary entry */
+
struct internal_syment {
union {
char _n_name[SYMNMLEN]; /* old COFF version */
#define IRIX3_SYS 17 /* SGI Iris running irix 3.x */
#define IRIX4_SYS 18 /* SGI Iris running cypress */
#define HP300BSD_SYS 19
+#define ULTRA3_SYM1_SYS 20 /* NYU Ultracomputer */
#include <ansidecl.h>
#include <sys/h-hp300bsd.h>
#endif
+#if HOST_SYS == ULTRA3_SYM1_SYS
+#include <sys/h-ultra3.h>
+#endif
+
#endif /* _SYSDEP_H */