diff options
author | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-17 20:42:53 +0000 |
---|---|---|
committer | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-17 20:42:53 +0000 |
commit | 6912d656bc424026b8195a5577c6720cdb3f5aea (patch) | |
tree | b5f4eb93927bf66d5b61dacbaf5aed402284fcd4 /gcc/config.gcc | |
parent | 67283f092b639e1028098b3f481a477ed0e02cb2 (diff) | |
download | gcc-6912d656bc424026b8195a5577c6720cdb3f5aea.tar.gz |
* config/mips/t-iris6gld: Renamed to ...
* config/mips/t-irix-gld: ... this.
* config.gcc (mips-sgi-irix6*): Reflect this
(mips-sgi-irix5*): Use it with GNU ld.
* config/mips/irix6-crti.asm, config/mips/irix6-crtn.asm: Renamed
to ...
* config/mips/irix-crti.asm, config/mips/irix-crtn.asm: ... this.
* config/mips/t-irix-gld: Reflect this.
* config/mips/iris6gld.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
* config/mips/iris5gld.h: New file.
* config.gcc (mips-sgi-irix5*): Use it with GNU ld.
Only use collect2 without gas.
* config/mips/iris6.h (IRIX6_STARTFILE_SPEC, IRIX6_ENDFILE_SPEC):
Renamed to IRIX_STARTFILE_SPEC, IRIX_ENDFILE_SPEC.
(STARTFILE_SPEC, ENDFILE_SPEC, SUBTARGET_EXTRA_SPECS): Reflect this.
* config/mips/iris6gld.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
* config/mips/iris6.h (SUBTARGET_EXTRA_SPECS): Moved ...
* config/mips/iris5.h: ... here.
* config/mips/iris5.h (STARTFILE_SPEC, ENDFILE_SPEC): Renamed to
IRIX_STARTFILE_SPEC, IRIX_ENDFILE_SPEC.
(STARTFILE_SPEC, ENDFILE_SPEC): Define.
* config/mips/iris5gas.h (STARTFILE_SPEC, ENDFILE_SPEC): Simplify
using irix_startfile_spec, irix_endfile_spec.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77978 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r-- | gcc/config.gcc | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc index 841bd189597..48f54440a8b 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -1258,7 +1258,7 @@ mips-sgi-irix6*) # SGI System V.4., IRIX 6 if test "x$gnu_ld" = xyes then tm_file="${tm_file} mips/iris6gld.h" - tmake_file="$tmake_file mips/t-iris6gld" + tmake_file="$tmake_file mips/t-irix-gld" fi target_cpu_default="MASK_ABICALLS|MASK_FLOAT64|MASK_64BIT" tm_defines="MIPS_ISA_DEFAULT=3 MIPS_ABI_DEFAULT=ABI_N32" @@ -1298,11 +1298,19 @@ mips-sgi-irix5*) # SGI System V.4., IRIX 5 else tmake_file=mips/t-iris5-as fi + if test "x$gnu_ld" = xyes + then + tm_file="${tm_file} mips/iris5gld.h" + tmake_file="$tmake_file mips/t-irix-gld" + fi tmake_file="${tmake_file} mips/t-iris mips/t-iris5-6" target_cpu_default="MASK_ABICALLS" # mips-tfile doesn't work yet # See comment in mips/iris5.h file. - use_collect2=yes + if test x$gas = xno + then + use_collect2=yes + fi # if test x$enable_threads = xyes; then # thread_file='irix' # fi |