summaryrefslogtreecommitdiff
path: root/gcc/mips-tdump.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/mips-tdump.c')
-rw-r--r--gcc/mips-tdump.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/gcc/mips-tdump.c b/gcc/mips-tdump.c
index 5f30abaa062..a650a512838 100644
--- a/gcc/mips-tdump.c
+++ b/gcc/mips-tdump.c
@@ -24,9 +24,18 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <sys/file.h>
#include <fcntl.h>
#include <errno.h>
-#include <a.out.h>
#include "config.h"
+#ifndef CROSS_COMPILE
+#include <a.out.h>
+#else
+#include "symconst.h"
+#define LANGUAGE_C
+#include "sym.h"
+#include "filehdr.h"
+#define ST_RFDESCAPE 0xfff
+#endif
+
#ifdef __STDC__
typedef void *PTR_T;
typedef const void *CPTR_T;