From 4d032a67aaa632dde65c7b1d868309bd51ba9952 Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Wed, 26 Aug 1992 21:21:55 +0000 Subject: Pass -shared/-non_shared to MIPS 3.0 linker if passed. From-SVN: r1968 --- gcc/config/mips/dec-osf1.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'gcc/config/mips/dec-osf1.h') diff --git a/gcc/config/mips/dec-osf1.h b/gcc/config/mips/dec-osf1.h index 04491364601..55cc653adad 100644 --- a/gcc/config/mips/dec-osf1.h +++ b/gcc/config/mips/dec-osf1.h @@ -17,10 +17,20 @@ You should have received a copy of the GNU General Public License along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ -#define DECSTATION #define DEC_OSF1 #define CPP_PREDEFINES "-D__ANSI_COMPAT \ -DMIPSEL -DR3000 -DSYSTYPE_BSD -D_SYSTYPE_BSD -Dbsd4_2 -Dhost_mips -Dmips -Dosf -Dunix" +#define LINK_SPEC "\ +%{G*} \ +%{!mgas: \ + %{EL} %{!EL: -EL} \ + %{EB: %e-EB not supported} \ + %{mips1} %{mips2} %{mips3} \ + %{bestGnum} %{shared} %{non_shared}}" + #include "decstatn.h" + +/* turn off collect2 COFF support, since ldfcn now has elf declaration */ +#undef OBJECT_FORMAT_COFF -- cgit v1.2.1