1 TARGET_LIBGCC2_CFLAGS = -fPIC -frandom-seed=fixed-seed
2 LIB2FUNCS_EXTRA=lib2funcs.asm quadlib.c
3 LIBGCCSTUB_OBJS = pthread_default_stacksize_np-stub.o \
4 pthread_mutex_lock-stub.o \
5 pthread_mutex_unlock-stub.o
7 stublib.c: $(srcdir)/config/pa/stublib.c
9 cp $(srcdir)/config/pa/stublib.c .
11 pthread_default_stacksize_np-stub.o: stublib.c $(GCC_PASSES)
12 $(GCC_FOR_TARGET) -c -O2 -DL_pthread_default_stacksize_np stublib.c \
13 -o pthread_default_stacksize_np-stub.o
15 pthread_mutex_lock-stub.o: stublib.c $(GCC_PASSES)
16 $(GCC_FOR_TARGET) -c -O2 -DL_pthread_mutex_lock stublib.c \
17 -o pthread_mutex_lock-stub.o
19 pthread_mutex_unlock-stub.o: stublib.c $(GCC_PASSES)
20 $(GCC_FOR_TARGET) -c -O2 -DL_pthread_mutex_unlock stublib.c \
21 -o pthread_mutex_unlock-stub.o
23 $(T)libgcc_stub.a: $(LIBGCCSTUB_OBJS)
24 -rm -rf $(T)libgcc_stub.a
25 $(AR) rc $(T)libgcc_stub.a $(LIBGCCSTUB_OBJS)
26 $(RANLIB) $(T)libgcc_stub.a