]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/config/mmix/t-mmix
ABOUT-GCC-NLS, [...]: Add copyright and license notices.
[thirdparty/gcc.git] / gcc / config / mmix / t-mmix
CommitLineData
ad41bd84
JM
1# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
2#
3# This file is part of GCC.
4#
5# GCC is free software; you can redistribute it and/or modify
6# it under the terms of the GNU General Public License as published by
7# the Free Software Foundation; either version 3, or (at your option)
8# any later version.
9#
10# GCC is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13# GNU General Public License for more details.
14#
15# You should have received a copy of the GNU General Public License
16# along with GCC; see the file COPYING3. If not see
17# <http://www.gnu.org/licenses/>.
18
bcf684c7 19# See "Target Fragment" in GCC info. That same order is used here.
bcf684c7 20
392fc5b0 21TARGET_LIBGCC2_CFLAGS = -mlibfuncs -O2
bcf684c7
HPN
22
23EXTRA_MULTILIB_PARTS = crti.o crtn.o crtbegin.o crtend.o
24
3a198a72
HPN
25# We need to turn off some assumptions on normality for code in crtstuff.c
26# and crt{i,n}.asm, specifically about execution not continuing past the
27# end of the section in the file being compiled. Thus we must stop the
28# assembler from generating stubbable PUSHJ relocs, because that will add
29# stubs at the end of the current section when necessary.
30CRTSTUFF_T_CFLAGS = -Wa,--no-stubs
31
bcf684c7
HPN
32MULTILIB_OPTIONS = mabi=gnu
33MULTILIB_DIRNAMES = gnuabi
34
a824924d 35# Don't use global registers in libraries.
247cb9df
HPN
36# FIXME: Not applied at "root" level, so disabled at the moment to stop
37# incorrect comparisons with -mabi=gnu.
38#MULTILIB_EXTRA_OPTS = mno-base-addresses
a824924d 39
bcf684c7 40$(T)crti.o: $(srcdir)/config/mmix/crti.asm $(GCC_PASSES)
504e4c7e 41 $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \
3a198a72
HPN
42 $(CRTSTUFF_T_CFLAGS) -c -o $(T)crti.o -x assembler-with-cpp \
43 $(srcdir)/config/mmix/crti.asm
bcf684c7
HPN
44
45$(T)crtn.o: $(srcdir)/config/mmix/crtn.asm $(GCC_PASSES)
504e4c7e 46 $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \
3a198a72
HPN
47 $(CRTSTUFF_T_CFLAGS) -c -o $(T)crtn.o -x assembler-with-cpp \
48 $(srcdir)/config/mmix/crtn.asm