summaryrefslogtreecommitdiff
path: root/gcc/mips-tdump.c
diff options
context:
space:
mode:
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2011-05-04 11:04:50 +0000
committerRainer Orth <ro@gcc.gnu.org>2011-05-04 11:04:50 +0000
commit502bc3dfa2eb14089eaadeb8ea4592c60a944e56 (patch)
tree1b72002913dc44f7cb6b5360ba296e6dbed42fea /gcc/mips-tdump.c
parent991eb6effea6272dcacd6ab1b79eb5ffc7ed8bc2 (diff)
downloadgcc-502bc3dfa2eb14089eaadeb8ea4592c60a944e56.tar.gz
* config/alpha/alpha.h (CODE_MASK, MIPS_IS_STAB, MIPS_MARK_STAB)
(MIPS_UNMARK_STAB, SHASH_SIZE, THASH_SIZE, ALIGN_SYMTABLE_OFFSET): Move ... * mips-tfile.c: ... here. Don't include coretypes.h, tm.h, filenames.h. (saber_stop): Remove definition and all calls. [__SABER__]: Remove. (__LINE__): Remove default. (Size_t, Ptrdiff_t): Remove definitions. Replace by size_t, ptrdiff_t. [!MIPS_DEBUGGING_INFO]: Remove. (SHASH_SIZE, THASH_SIZE): Remove defaults. (progname): Add const. (STATIC): Remove. Replace all uses by static. (ALIGN_SYMTABLE_OFFSET): Remove default. * mips-tdump.c: Don't include coretypes.h, tm.h. Remove !MIPS_IS_STAB guard. * Makefile.in (mips-tfile.o): Remove $(RTL_H), coretypes.h, $(TM_H), filenames.h dependencies. (mips-tdump.o): Remove $(RTL_H), coretypes.h, $(TM_H) dependencies. From-SVN: r173367
Diffstat (limited to 'gcc/mips-tdump.c')
-rw-r--r--gcc/mips-tdump.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/gcc/mips-tdump.c b/gcc/mips-tdump.c
index 906e94a6545..ec9ceb0cecc 100644
--- a/gcc/mips-tdump.c
+++ b/gcc/mips-tdump.c
@@ -22,8 +22,6 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
-#include "coretypes.h"
-#include "tm.h"
#include "version.h"
#ifdef index
#undef index
@@ -37,10 +35,8 @@ along with GCC; see the file COPYING3. If not see
/* Include getopt.h for the sake of getopt_long. */
#include "getopt.h"
-#ifndef MIPS_IS_STAB
/* Macros for mips-tfile.c to encapsulate stabs in ECOFF, and for
- and mips-tdump.c to print them out. This is used on the Alpha,
- which does not include mips.h.
+ mips-tdump.c to print them out.
These must match the corresponding definitions in gdb/mipsread.c.
Unfortunately, gcc and gdb do not currently share any directories. */
@@ -49,7 +45,6 @@ along with GCC; see the file COPYING3. If not see
#define MIPS_IS_STAB(sym) (((sym)->index & 0xFFF00) == CODE_MASK)
#define MIPS_MARK_STAB(code) ((code)+CODE_MASK)
#define MIPS_UNMARK_STAB(code) ((code)-CODE_MASK)
-#endif
#define uchar unsigned char
#define ushort unsigned short