Commit caee412b by Rainer Orth Committed by Rainer Orth

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
parent 5eed4f27
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> 2011-05-24 H.J. Lu <hongjiu.lu@intel.com>
PR target/49128 PR target/49128
......
...@@ -748,7 +748,9 @@ alpha*-dec-osf5.1*) ...@@ -748,7 +748,9 @@ alpha*-dec-osf5.1*)
then then
tm_file="${tm_file} dbx.h" tm_file="${tm_file} dbx.h"
fi 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 then
extra_passes="mips-tfile mips-tdump" extra_passes="mips-tfile mips-tdump"
fi fi
......
...@@ -26,11 +26,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -26,11 +26,7 @@ along with GCC; see the file COPYING3. If not see
#ifdef index #ifdef index
#undef index #undef index
#endif #endif
#ifndef CROSS_DIRECTORY_STRUCTURE
#include <a.out.h> #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 for the sake of getopt_long. */
#include "getopt.h" #include "getopt.h"
......
/* 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 contain debugging information specified by the GNU compiler
in the form of comments (the mips assembler does not support in the form of comments (the mips assembler does not support
assembly access to debug information). assembly access to debug information).
...@@ -633,12 +633,7 @@ extern void error (const char *format, ...) ATTRIBUTE_PRINTF_1; ...@@ -633,12 +633,7 @@ extern void error (const char *format, ...) ATTRIBUTE_PRINTF_1;
#undef index #undef index
#ifndef CROSS_DIRECTORY_STRUCTURE
#include <a.out.h> #include <a.out.h>
#else
#include "mips/a.out.h"
#endif /* CROSS_DIRECTORY_STRUCTURE */
#include "gstab.h" #include "gstab.h"
#define IS_ASM_IDENT(ch) \ #define IS_ASM_IDENT(ch) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment