xref: /netbsd-src/external/gpl3/gcc.old/dist/gcc/config/m32r/t-m32r (revision 8feb0f0b7eaff0608f8350bbfa3098827b4bb91b)
1*8feb0f0bSmrg# Copyright (C) 1997-2020 Free Software Foundation, Inc.
236ac495dSmrg#
336ac495dSmrg# This file is part of GCC.
436ac495dSmrg#
536ac495dSmrg# GCC is free software; you can redistribute it and/or modify
636ac495dSmrg# it under the terms of the GNU General Public License as published by
736ac495dSmrg# the Free Software Foundation; either version 3, or (at your option)
836ac495dSmrg# any later version.
936ac495dSmrg#
1036ac495dSmrg# GCC is distributed in the hope that it will be useful,
1136ac495dSmrg# but WITHOUT ANY WARRANTY; without even the implied warranty of
1236ac495dSmrg# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1336ac495dSmrg# GNU General Public License for more details.
1436ac495dSmrg#
1536ac495dSmrg# You should have received a copy of the GNU General Public License
1636ac495dSmrg# along with GCC; see the file COPYING3.  If not see
1736ac495dSmrg# <http://www.gnu.org/licenses/>.
1836ac495dSmrg
1936ac495dSmrg# -mmodel={small,medium} requires separate libraries.
2036ac495dSmrg# We don't build libraries for the large model, instead we use the medium
2136ac495dSmrg# libraries.  The only difference is that the large model can handle jumps
2236ac495dSmrg# more than 26 signed bits away.
2336ac495dSmrg
2436ac495dSmrgMULTILIB_OPTIONS = mmodel=small/mmodel=medium m32r/m32rx/m32r2
2536ac495dSmrgMULTILIB_DIRNAMES = small medium m32r m32rx m32r2
2636ac495dSmrgMULTILIB_MATCHES = mmodel?medium=mmodel?large
2736ac495dSmrg
2836ac495dSmrg# Set MULTILIB_EXTRA_OPTS so shipped libraries have small data in .sdata and
2936ac495dSmrg# SHN_M32R_SCOMMON.
3036ac495dSmrg# This is important for objects referenced in system header files.
3136ac495dSmrgMULTILIB_EXTRA_OPTS = msdata=sdata
32