Merge with gcc-4_3-branch up to revision 175516.
[official-gcc.git] / gcc / config / pa / t-pa64
blob558a2a8e2943681a5a9718683bb46cae891a3fe4
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         pthread_default_stacksize_np-stub.o \
5         pthread_mutex_lock-stub.o \
6         pthread_mutex_unlock-stub.o \
7         pthread_once-stub.o
9 stublib.c: $(srcdir)/config/pa/stublib.c
10         rm -f stublib.c
11         cp $(srcdir)/config/pa/stublib.c .
13 rfi-stub.o: stublib.c $(GCC_PASSES)
14         $(GCC_FOR_TARGET) -c -O2 -DL_register_frame_info stublib.c \
15           -o rfi-stub.o
17 dfi-stub.o: stublib.c $(GCC_PASSES)
18         $(GCC_FOR_TARGET) -c -O2 -DL_deregister_frame_info stublib.c \
19           -o dfi-stub.o
21 cxaf-stub.o: stublib.c $(GCC_PASSES)
22         $(GCC_FOR_TARGET) -c -O2 -DL_cxa_finalize stublib.c \
23           -o cxaf-stub.o
25 jvrc-stub.o: stublib.c $(GCC_PASSES)
26         $(GCC_FOR_TARGET) -c -O2 -DL_Jv_RegisterClasses stublib.c \
27           -o jvrc-stub.o
29 pthread_default_stacksize_np-stub.o: stublib.c $(GCC_PASSES)
30         $(GCC_FOR_TARGET) -c -O2 -DL_pthread_default_stacksize_np stublib.c \
31           -o pthread_default_stacksize_np-stub.o
33 pthread_mutex_lock-stub.o: stublib.c $(GCC_PASSES)
34         $(GCC_FOR_TARGET) -c -O2 -DL_pthread_mutex_lock stublib.c \
35           -o pthread_mutex_lock-stub.o
37 pthread_mutex_unlock-stub.o: stublib.c $(GCC_PASSES)
38         $(GCC_FOR_TARGET) -c -O2 -DL_pthread_mutex_unlock stublib.c \
39           -o pthread_mutex_unlock-stub.o
41 pthread_once-stub.o: stublib.c $(GCC_PASSES)
42         $(GCC_FOR_TARGET) -c -O2 -DL_pthread_once stublib.c \
43           -o pthread_once-stub.o
45 $(T)libgcc_stub.a: $(LIBGCCSTUB_OBJS)
46         -rm -rf $(T)libgcc_stub.a
47         $(AR) rc $(T)libgcc_stub.a $(LIBGCCSTUB_OBJS)
48         $(RANLIB) $(T)libgcc_stub.a