diff options
author | peter <peter@FreeBSD.org> | 1996-09-18 05:35:50 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1996-09-18 05:35:50 +0000 |
commit | d4691e641ba47cb86eef80f5c879e13f9d961724 (patch) | |
tree | 5b7ea73fc49c8998d9dc87d3eeff5b96439e6856 /contrib/gcc/gsyms.h | |
download | FreeBSD-src-d4691e641ba47cb86eef80f5c879e13f9d961724.zip FreeBSD-src-d4691e641ba47cb86eef80f5c879e13f9d961724.tar.gz |
Import of unmodified (but trimmed) gcc-2.7.2. The bigger parts of the
non-i386, non-unix, and generatable files have been trimmed, but can easily
be added in later if needed.
gcc-2.7.2.1 will follow shortly, it's a very small delta to this and it's
handy to have both available for reference for such little cost.
The freebsd-specific changes will then be committed, and once the dust has
settled, the bmakefiles will be committed to use this code.
Diffstat (limited to 'contrib/gcc/gsyms.h')
-rw-r--r-- | contrib/gcc/gsyms.h | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/contrib/gcc/gsyms.h b/contrib/gcc/gsyms.h new file mode 100644 index 0000000..a2054bb --- /dev/null +++ b/contrib/gcc/gsyms.h @@ -0,0 +1,76 @@ +/* For cross compilation, use the portable definitions from the COFF + documentation. */ + +#define __GNU_SYMS__ + +enum sdb_storage_class +{ + C_EFCN = -1, + C_NULL = 0, + C_AUTO = 1, + C_EXT = 2, + C_STAT = 3, + C_REG = 4, + C_EXTDEF = 5, + C_LABEL = 6, + C_ULABEL = 7, + C_MOS = 8, + C_ARG = 9, + C_STRTAG = 10, + C_MOU = 11, + C_UNTAG = 12, + C_TPDEF = 13, + C_USTATIC = 14, + C_ENTAG = 15, + C_MOE = 16, + C_REGPARM = 17, + C_FIELD = 18, + + C_BLOCK = 100, + C_FCN = 101, + C_EOS = 102, + C_FILE = 103, + C_LINE = 104, + C_ALIAS = 105, + C_HIDDEN = 106 +}; + +enum sdb_type +{ + T_NULL = 0, + T_ARG = 1, + T_VOID = 1, + T_CHAR = 2, + T_SHORT = 3, + T_INT = 4, + T_LONG = 5, + T_FLOAT = 6, + T_DOUBLE = 7, + T_STRUCT = 8, + T_UNION = 9, + T_ENUM = 10, + T_MOE = 11, + T_UCHAR = 12, + T_USHORT = 13, + T_UINT = 14, + T_ULONG = 15 +}; + +enum sdb_type_class +{ + DT_NON = 0, + DT_PTR = 1, + DT_FCN = 2, + DT_ARY = 3 +}; + +enum sdb_masks +{ + N_BTMASK = 017, + N_TMASK = 060, + N_TMASK1 = 0300, + N_TMASK2 = 0360, + N_BTSHFT = 4, + N_TSHIFT = 2 +}; + |