1 |
282 |
jeremybenn |
# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
|
2 |
|
|
# Free Software Foundation, Inc.
|
3 |
|
|
#
|
4 |
|
|
# This file is part of GCC.
|
5 |
|
|
#
|
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)
|
9 |
|
|
# any later version.
|
10 |
|
|
#
|
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.
|
15 |
|
|
#
|
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 |
|
|
# .
|
19 |
|
|
|
20 |
|
|
LIB1ASMSRC = ia64/lib1funcs.asm
|
21 |
|
|
|
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
|
32 |
|
|
|
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
|
39 |
|
|
|
40 |
|
|
SHLIB_MAPFILES += $(srcdir)/config/ia64/libgcc-ia64.ver
|
41 |
|
|
|
42 |
|
|
# Effectively disable the crtbegin/end rules using crtstuff.c
|
43 |
|
|
T = disable
|
44 |
|
|
|
45 |
|
|
LIB2ADDEH = $(srcdir)/config/ia64/unwind-ia64.c $(srcdir)/unwind-sjlj.c \
|
46 |
|
|
$(srcdir)/unwind-c.c
|
47 |
|
|
|
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 |
|
|
$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
|
51 |
|
|
$(srcdir)/config/ia64/ia64-c.c
|
52 |
|
|
|
53 |
|
|
# genattrtab generates very long string literals.
|
54 |
|
|
insn-attrtab.o-warn = -Wno-error
|
55 |
|
|
|
56 |
|
|
ia64.o: debug.h $(PARAMS_H) sel-sched.h
|