OSDN Git Service

9fd9607eb9982c4f592afa55d979b7d21425a56e
[pf3gnuchains/gcc-fork.git] / gcc / config / pa / t-pa64
1 TARGET_LIBGCC2_CFLAGS = -fPIC -Dpa64=1 -DELF=1 -mlong-calls
2 LIB2FUNCS_EXTRA = quadlib.c
3 LIBGCCSTUB_OBJS = rfi-stub.o dfi-stub.o jvrc-stub.o cxaf-stub.o
4
5 stublib.c: $(srcdir)/config/pa/stublib.c
6         rm -f stublib.c
7         cp $(srcdir)/config/pa/stublib.c .
8
9 rfi-stub.o: stublib.c $(GCC_PASSES)
10         $(GCC_FOR_TARGET) -c -O2 -DL_register_frame_info stublib.c \
11           -o rfi-stub.o
12
13 dfi-stub.o: stublib.c $(GCC_PASSES)
14         $(GCC_FOR_TARGET) -c -O2 -DL_deregister_frame_info stublib.c \
15           -o dfi-stub.o
16
17 cxaf-stub.o: stublib.c $(GCC_PASSES)
18         $(GCC_FOR_TARGET) -c -O2 -DL_cxa_finalize stublib.c \
19           -o cxaf-stub.o
20
21 jvrc-stub.o: stublib.c $(GCC_PASSES)
22         $(GCC_FOR_TARGET) -c -O2 -DL_Jv_RegisterClasses stublib.c \
23           -o jvrc-stub.o
24
25 $(T)libgcc_stub.a: $(LIBGCCSTUB_OBJS)
26         -rm -rf $(T)libgcc_stub.a
27         $(AR) rc $(T)libgcc_stub.a $(LIBGCCSTUB_OBJS)
28         $(RANLIB) $(T)libgcc_stub.a