summaryrefslogtreecommitdiff
path: root/gcc/config/mips/dec-osf1.h
diff options
context:
space:
mode:
authorMichael Meissner <meissner@gcc.gnu.org>1992-08-26 21:21:55 +0000
committerMichael Meissner <meissner@gcc.gnu.org>1992-08-26 21:21:55 +0000
commit4d032a67aaa632dde65c7b1d868309bd51ba9952 (patch)
tree4b4613cf2c978e50df8ce2afcb137165ba39f762 /gcc/config/mips/dec-osf1.h
parentb842c19aff4cae52714122ef8f18aaf305562c1e (diff)
downloadgcc-4d032a67aaa632dde65c7b1d868309bd51ba9952.tar.gz
Pass -shared/-non_shared to MIPS 3.0 linker if passed.
From-SVN: r1968
Diffstat (limited to 'gcc/config/mips/dec-osf1.h')
-rw-r--r--gcc/config/mips/dec-osf1.h12
1 files changed, 11 insertions, 1 deletions
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