xref: /netbsd-src/external/gpl3/gcc.old/dist/gcc/config/rs6000/t-netbsd (revision 8feb0f0b7eaff0608f8350bbfa3098827b4bb91b)
11debfc3dSmrg# Support for NetBSD PowerPC ELF targets (SVR4 ABI).
21debfc3dSmrg#
3*8feb0f0bSmrg# Copyright (C) 2002-2020 Free Software Foundation, Inc.
41debfc3dSmrg#
51debfc3dSmrg# This file is part of GCC.
61debfc3dSmrg#
71debfc3dSmrg# GCC is free software; you can redistribute it and/or modify
81debfc3dSmrg# it under the terms of the GNU General Public License as published by
91debfc3dSmrg# the Free Software Foundation; either version 3, or (at your option)
101debfc3dSmrg# any later version.
111debfc3dSmrg#
121debfc3dSmrg# GCC is distributed in the hope that it will be useful,
131debfc3dSmrg# but WITHOUT ANY WARRANTY; without even the implied warranty of
141debfc3dSmrg# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
151debfc3dSmrg# GNU General Public License for more details.
161debfc3dSmrg#
171debfc3dSmrg# You should have received a copy of the GNU General Public License
181debfc3dSmrg# along with GCC; see the file COPYING3.  If not see
191debfc3dSmrg# <http://www.gnu.org/licenses/>.
201debfc3dSmrg
211debfc3dSmrg# It is important that crtbegin.o, etc., aren't surprised by stuff in .sdata.
221debfc3dSmrgCRTSTUFF_T_CFLAGS += -msdata=none
231debfc3dSmrgCRTSTUFF_T_CFLAGS_S += -msdata=none
241debfc3dSmrg
251debfc3dSmrg# Switch synonyms
261debfc3dSmrgMULTILIB_MATCHES_FLOAT	= msoft-float=mcpu?401 \
271debfc3dSmrg			  msoft-float=mcpu?403 \
281debfc3dSmrg			  msoft-float=mcpu?405 \
291debfc3dSmrg			  msoft-float=mcpu?ec603e \
301debfc3dSmrg			  msoft-float=mcpu?801 \
311debfc3dSmrg			  msoft-float=mcpu?821 \
321debfc3dSmrg			  msoft-float=mcpu?823 \
331debfc3dSmrg			  msoft-float=mcpu?860
341debfc3dSmrg
351debfc3dSmrgMULTILIB_OPTIONS	= msoft-float
361debfc3dSmrgMULTILIB_DIRNAMES	= soft-float
371debfc3dSmrgMULTILIB_EXTRA_OPTS	= fPIC mstrict-align
381debfc3dSmrgMULTILIB_EXCEPTIONS	=
391debfc3dSmrg
401debfc3dSmrgMULTILIB_MATCHES	= ${MULTILIB_MATCHES_FLOAT}
411debfc3dSmrg
421debfc3dSmrgLIBGCC = stmp-multilib
431debfc3dSmrg
441debfc3dSmrgINSTALL_LIBGCC = install-multilib
451debfc3dSmrgEXTRA_MULTILIB_PARTS = crtbegin$(objext) crtend$(objext) \
461debfc3dSmrg  crtbeginS$(objext) crtendS$(objext) crtbeginT$(objext)
47