]>
Commit | Line | Data |
---|---|---|
7dfbd804 | 1 | # Copyright (C) 2000, 2001, 2002, 2004, 2006, |
2 | # 2007 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 | # <http://www.gnu.org/licenses/>. | |
19 | ||
ece88821 | 20 | TARGET_LIBGCC2_CFLAGS = -fPIC -Dpa64=1 -DELF=1 -mlong-calls |
25e266ae | 21 | LIB2FUNCS_EXTRA = quadlib.c |
22 | LIBGCCSTUB_OBJS = rfi-stub.o dfi-stub.o jvrc-stub.o cxaf-stub.o | |
23 | ||
24 | stublib.c: $(srcdir)/config/pa/stublib.c | |
25 | rm -f stublib.c | |
26 | cp $(srcdir)/config/pa/stublib.c . | |
27 | ||
388c75b0 | 28 | rfi-stub.o: stublib.c $(GCC_PASSES) |
25e266ae | 29 | $(GCC_FOR_TARGET) -c -O2 -DL_register_frame_info stublib.c \ |
30 | -o rfi-stub.o | |
31 | ||
388c75b0 | 32 | dfi-stub.o: stublib.c $(GCC_PASSES) |
25e266ae | 33 | $(GCC_FOR_TARGET) -c -O2 -DL_deregister_frame_info stublib.c \ |
34 | -o dfi-stub.o | |
35 | ||
388c75b0 | 36 | cxaf-stub.o: stublib.c $(GCC_PASSES) |
25e266ae | 37 | $(GCC_FOR_TARGET) -c -O2 -DL_cxa_finalize stublib.c \ |
38 | -o cxaf-stub.o | |
39 | ||
388c75b0 | 40 | jvrc-stub.o: stublib.c $(GCC_PASSES) |
25e266ae | 41 | $(GCC_FOR_TARGET) -c -O2 -DL_Jv_RegisterClasses stublib.c \ |
42 | -o jvrc-stub.o | |
43 | ||
ca09a9d4 | 44 | $(T)libgcc_stub.a: $(LIBGCCSTUB_OBJS) |
45 | -rm -rf $(T)libgcc_stub.a | |
46 | $(AR) rc $(T)libgcc_stub.a $(LIBGCCSTUB_OBJS) | |
47 | $(RANLIB) $(T)libgcc_stub.a |