config.gcc (mips-sgi-irix6*): Add t-iris6gld to tmake_file when using GNU ld.
authorRichard Sandiford <rsandifo@redhat.com>
Mon, 24 Nov 2003 21:02:12 +0000 (21:02 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Mon, 24 Nov 2003 21:02:12 +0000 (21:02 +0000)
commit21b807f18020f6f10753b0a0ab7d53a65f31b79a
tree30037e1d6d9657f2a8bbc5a68f2a9cbbfb1582aa
parente13e48e70711cf7328c91eedf04ad4771dc9a002
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
gcc/ChangeLog
gcc/config.gcc
gcc/config/mips/iris6.h
gcc/config/mips/iris6gld.h
gcc/config/mips/irix6-crti.asm [new file with mode: 0644]
gcc/config/mips/irix6-crtn.asm [new file with mode: 0644]
gcc/config/mips/t-iris6gld [new file with mode: 0644]