aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/gsyms.h
diff options
context:
space:
mode:
authorBen Cheng <bccheng@google.com>2014-03-25 22:37:19 -0700
committerBen Cheng <bccheng@google.com>2014-03-25 22:37:19 -0700
commit1bc5aee63eb72b341f506ad058502cd0361f0d10 (patch)
treec607e8252f3405424ff15bc2d00aa38dadbb2518 /gcc-4.9/gcc/gsyms.h
parent283a0bf58fcf333c58a2a92c3ebbc41fb9eb1fdb (diff)
downloadtoolchain_gcc-1bc5aee63eb72b341f506ad058502cd0361f0d10.tar.gz
toolchain_gcc-1bc5aee63eb72b341f506ad058502cd0361f0d10.tar.bz2
toolchain_gcc-1bc5aee63eb72b341f506ad058502cd0361f0d10.zip
Initial checkin of GCC 4.9.0 from trunk (r208799).
Change-Id: I48a3c08bb98542aa215912a75f03c0890e497dba
Diffstat (limited to 'gcc-4.9/gcc/gsyms.h')
-rw-r--r--gcc-4.9/gcc/gsyms.h104
1 files changed, 104 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/gsyms.h b/gcc-4.9/gcc/gsyms.h
new file mode 100644
index 000000000..3547692e1
--- /dev/null
+++ b/gcc-4.9/gcc/gsyms.h
@@ -0,0 +1,104 @@
+/* Copyright (C) 1992-2014 Free Software Foundation, Inc.
+
+This file is part of GCC.
+
+GCC is free software; you can redistribute it and/or modify it under
+the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3, or (at your option) any later
+version.
+
+GCC is distributed in the hope that it will be useful, but WITHOUT ANY
+WARRANTY; without even the implied warranty of MERCHANTABILITY or
+FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+for more details.
+
+You should have received a copy of the GNU General Public License
+along with GCC; see the file COPYING3. If not see
+<http://www.gnu.org/licenses/>. */
+
+/* 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
+#ifdef EXTENDED_SDB_BASIC_TYPES
+ , T_LNGDBL = 16
+#endif
+};
+
+enum sdb_type_class
+{
+ DT_NON = 0,
+ DT_PTR = 1,
+ DT_FCN = 2,
+ DT_ARY = 3
+};
+
+enum sdb_masks
+{
+#ifdef EXTENDED_SDB_BASIC_TYPES
+ N_BTMASK = 0x1f,
+ N_TMASK = 0x60,
+ N_TMASK1 = 0x300,
+ N_TMASK2 = 0x360,
+ N_BTSHFT = 5,
+#else
+ N_BTMASK = 017,
+ N_TMASK = 060,
+ N_TMASK1 = 0300,
+ N_TMASK2 = 0360,
+ N_BTSHFT = 4,
+#endif
+ N_TSHIFT = 2
+};