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