1 # Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
2 # 2008 Free Software Foundation, Inc.
4 # This file is part of GCC.
6 # GCC is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3, or (at your option)
11 # GCC is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with GCC; see the file COPYING3. If not see
18 # <http://www.gnu.org/licenses/>.
20 LIB1ASMSRC = ia64/lib1funcs.asm
22 # We use different names for the DImode div/mod files so that they won't
23 # conflict with libgcc2.c files. We used to use __ia64 as a prefix, now
24 # we use __ as the prefix. Note that L_divdi3 in libgcc2.c actually defines
25 # a TImode divide function, so there is no actual overlap here between
26 # libgcc2.c and lib1funcs.asm.
27 LIB1ASMFUNCS = __divxf3 __divdf3 __divsf3 \
28 __divdi3 __moddi3 __udivdi3 __umoddi3 \
29 __divsi3 __modsi3 __udivsi3 __umodsi3 __save_stack_nonlocal \
30 __nonlocal_goto __restore_stack_nonlocal __trampoline \
31 _fixtfdi _fixunstfdi _floatditf
33 # ??? Hack to get -P option used when compiling lib1funcs.asm, because Intel
34 # assembler does not accept # line number as a comment.
35 # ??? This breaks C++ pragma interface/implementation, which is used in the
36 # C++ part of libgcc2, hence it had to be disabled. Must find some other way
37 # to support the Intel assembler.
38 #LIBGCC2_DEBUG_CFLAGS = -g1 -P
40 SHLIB_MAPFILES += $(srcdir)/config/ia64/libgcc-ia64.ver
42 # Effectively disable the crtbegin/end rules using crtstuff.c
45 LIB2ADDEH = $(srcdir)/config/ia64/unwind-ia64.c $(srcdir)/unwind-sjlj.c \
48 ia64-c.o: $(srcdir)/config/ia64/ia64-c.c $(CONFIG_H) $(SYSTEM_H) \
49 coretypes.h $(TM_H) $(TREE_H) $(CPPLIB_H) $(C_COMMON_H) c-pragma.h toplev.h
50 $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(srcdir)/config/ia64/ia64-c.c
52 # genattrtab generates very long string literals.
53 insn-attrtab.o-warn = -Wno-error
55 ia64.o: debug.h $(PARAMS_H) sel-sched.h