Fix irix6-x-foo cross compiler build problem where irix6 gcc invokes wrong as.

* config/mips/iris6.h (MD_EXEC_PREFIX): Set to /usr/bin/.
	(MD_STARTFILE_PREFIX): Unset.

From-SVN: r18931
This commit is contained in:
Jim Wilson 1998-04-01 14:40:00 +00:00 committed by Jim Wilson
parent f9c8545454
commit 63959c221b
2 changed files with 17 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Wed Apr 1 14:38:10 1998 Jim Wilson <wilson@cygnus.com>
* config/mips/iris6.h (MD_EXEC_PREFIX): Set to /usr/bin/.
(MD_STARTFILE_PREFIX): Unset.
1998-04-01 Mark Mitchell <mmitchell@usa.net>
* varasm.c (make_decl_rtl): Update the DECL_ASSEMBLER_NAME for a

View File

@ -101,6 +101,18 @@ Boston, MA 02111-1307, USA. */
specification. The SGI/MIPS ABI defines it to be the same as PTR_SIZE. */
#define DWARF_OFFSET_SIZE PTR_SIZE
/* There is no GNU as port for Irix6 yet, so we set MD_EXEC_PREFIX so that
gcc will automatically find SGI as instead of searching the user's path.
The latter can fail when building a cross compiler if the user has . in
the path before /usr/bin, since then gcc will find and try to use the link
to the cross assembler which can't possibly work. */
#undef MD_EXEC_PREFIX
#define MD_EXEC_PREFIX "/usr/bin/"
/* We have no need for MD_STARTFILE_PREFIX. */
#undef MD_STARTFILE_PREFIX
#undef MACHINE_TYPE
#define MACHINE_TYPE "SGI running IRIX 6.x"