diff options
author | Richard Sandiford <rsandifo@redhat.com> | 2003-11-24 21:02:12 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2003-11-24 21:02:12 +0000 |
commit | 21b807f18020f6f10753b0a0ab7d53a65f31b79a (patch) | |
tree | 30037e1d6d9657f2a8bbc5a68f2a9cbbfb1582aa /gcc/config.gcc | |
parent | e13e48e70711cf7328c91eedf04ad4771dc9a002 (diff) | |
download | gcc-21b807f18020f6f10753b0a0ab7d53a65f31b79a.zip gcc-21b807f18020f6f10753b0a0ab7d53a65f31b79a.tar.gz gcc-21b807f18020f6f10753b0a0ab7d53a65f31b79a.tar.bz2 |
config.gcc (mips-sgi-irix6*): Add t-iris6gld to tmake_file when using GNU ld.
* config.gcc (mips-sgi-irix6*): Add t-iris6gld to tmake_file when
using GNU ld.
* config/mips/iris6.h (IRIX6_STARTFILE_SPEC): New, taking the
whole of the previous STARTFILE_SPEC except crtbegin.o%s.
(IRIX6_ENDFILE_SPEC): Likewise ENDFILE_SPEC and crtend.o%s.
(STARTFILE_SPEC, ENDFILE_SPEC): Define in terms of the above.
(SUBTARGET_EXTRA_SPECS): Define.
* config/mips/iris6gld.h (LINK_SPEC): Change -init function
to __gcc_init and -fini function to __gcc_fini.
(STARTFILE_SPEC): Redefine, including irix6-crti.o before crtbegin.o.
(ENDFILE_SPEC): Likewise, including irix6-crtn.o after crtend.o.
(INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP): Define.
* config/mips/t-iris6gld,
* config/mips/irix6-crti.asm,
* config/mips/irix6-crtn.asm: New files.
From-SVN: r73891
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r-- | gcc/config.gcc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc index 4ac9a79..ae9447d 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -1418,6 +1418,7 @@ mips-sgi-irix6*o32) # SGI System V.4., IRIX 6, O32 ABI ;; mips-sgi-irix6*) # SGI System V.4., IRIX 6 tm_file="${tm_file} mips/iris5.h mips/iris6.h" + tmake_file="mips/t-iris mips/t-iris5-6 mips/t-iris6" if test x$gas = xyes then tm_file="${tm_file} mips/iris6gas.h" @@ -1425,8 +1426,8 @@ 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" fi - tmake_file="mips/t-iris mips/t-iris5-6 mips/t-iris6" target_cpu_default="MASK_ABICALLS|MASK_FLOAT64|MASK_64BIT" tm_defines="MIPS_ISA_DEFAULT=3 MIPS_ABI_DEFAULT=ABI_N32" # See comment in mips/iris5.h file. Only enabled for O32 ABI |