aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2011-05-24 17:51:51 +0000
committerRainer Orth <ro@gcc.gnu.org>2011-05-24 17:51:51 +0000
commitcaee412b75f90163b2ef164881a9737408f61a4e (patch)
tree35cba01cecefecc85a3ef8512ac4b33827a9b19a
parent5eed4f27694914b24cec59029b57f0d7a25b0c34 (diff)
downloadgcc-caee412b75f90163b2ef164881a9737408f61a4e.zip
gcc-caee412b75f90163b2ef164881a9737408f61a4e.tar.gz
gcc-caee412b75f90163b2ef164881a9737408f61a4e.tar.bz2
re PR target/3746 (compilation of mips-tfile missing mips/a.out.h)
PR target/3746 * config.gcc (alpha*-dec-osf5.1*): Only build mips-tfile, mips-tdump native. * mips-tfile.c: Remove CROSS_DIRECTORY_STRUCTURE handling. * mips-tdump.c: Likewise. From-SVN: r174128
-rw-r--r--gcc/ChangeLog8
-rw-r--r--gcc/config.gcc4
-rw-r--r--gcc/mips-tdump.c4
-rw-r--r--gcc/mips-tfile.c7
4 files changed, 12 insertions, 11 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4d4aa0d..925c24a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,11 @@
+2011-05-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ PR target/3746
+ * config.gcc (alpha*-dec-osf5.1*): Only build mips-tfile,
+ mips-tdump native.
+ * mips-tfile.c: Remove CROSS_DIRECTORY_STRUCTURE handling.
+ * mips-tdump.c: Likewise.
+
2011-05-24 H.J. Lu <hongjiu.lu@intel.com>
PR target/49128
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 475c4e3..5d52af7 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -748,7 +748,9 @@ alpha*-dec-osf5.1*)
then
tm_file="${tm_file} dbx.h"
fi
- if test x$gas != xyes
+ # mips-tfile and mips-tdump are only used with the native assembler
+ # and require the Tru64 UNIX <a.out.h>, so only build native.
+ if test x$gas != xyes && test x${host} = x${target}
then
extra_passes="mips-tfile mips-tdump"
fi
diff --git a/gcc/mips-tdump.c b/gcc/mips-tdump.c
index ec9ceb0..f39b5a3 100644
--- a/gcc/mips-tdump.c
+++ b/gcc/mips-tdump.c
@@ -26,11 +26,7 @@ along with GCC; see the file COPYING3. If not see
#ifdef index
#undef index
#endif
-#ifndef CROSS_DIRECTORY_STRUCTURE
#include <a.out.h>
-#else
-#include "mips/a.out.h"
-#endif /* CROSS_DIRECTORY_STRUCTURE */
/* Include getopt.h for the sake of getopt_long. */
#include "getopt.h"
diff --git a/gcc/mips-tfile.c b/gcc/mips-tfile.c
index af0b248..3af6266 100644
--- a/gcc/mips-tfile.c
+++ b/gcc/mips-tfile.c
@@ -1,4 +1,4 @@
-/* Update the symbol table (the .T file) in a MIPS object to
+/* Update the symbol table (the .T file) in a ECOFF object to
contain debugging information specified by the GNU compiler
in the form of comments (the mips assembler does not support
assembly access to debug information).
@@ -633,12 +633,7 @@ extern void error (const char *format, ...) ATTRIBUTE_PRINTF_1;
#undef index
-#ifndef CROSS_DIRECTORY_STRUCTURE
#include <a.out.h>
-#else
-#include "mips/a.out.h"
-#endif /* CROSS_DIRECTORY_STRUCTURE */
-
#include "gstab.h"
#define IS_ASM_IDENT(ch) \