aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/libgcc/config/pa/t-stublib
blob: 8004c1e46a78fffdd7e1feac25d717212b8a2e22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
LIBGCCSTUB_OBJS = rfi-stub.o dfi-stub.o ritm-stub.o ditm-stub.o \
	jvrc-stub.o cxaf-stub.o \
	pthread_default_stacksize_np-stub.o \
	pthread_mutex_lock-stub.o \
	pthread_mutex_unlock-stub.o \
	pthread_once-stub.o

rfi-stub.o: $(srcdir)/config/pa/stublib.c
	$(gcc_compile) -c -O2 -DL_register_frame_info $<

dfi-stub.o: $(srcdir)/config/pa/stublib.c
	$(gcc_compile) -c -O2 -DL_deregister_frame_info $<

ritm-stub.o: $(srcdir)/config/pa/stublib.c
	$(gcc_compile) -c -O2 -DL_ITM_registerTMCloneTable $<

ditm-stub.o: $(srcdir)/config/pa/stublib.c
	$(gcc_compile) -c -O2 -DL_ITM_deregisterTMCloneTable $<

cxaf-stub.o: $(srcdir)/config/pa/stublib.c
	$(gcc_compile) -c -O2 -DL_cxa_finalize $<

jvrc-stub.o: $(srcdir)/config/pa/stublib.c
	$(gcc_compile) -c -O2 -DL_Jv_RegisterClasses $<

pthread_default_stacksize_np-stub.o: $(srcdir)/config/pa/stublib.c
	$(gcc_compile) -c -O2 -DL_pthread_default_stacksize_np $<

pthread_mutex_lock-stub.o: $(srcdir)/config/pa/stublib.c
	$(gcc_compile) -c -O2 -DL_pthread_mutex_lock $<

pthread_mutex_unlock-stub.o: $(srcdir)/config/pa/stublib.c
	$(gcc_compile) -c -O2 -DL_pthread_mutex_unlock $<

pthread_once-stub.o: $(srcdir)/config/pa/stublib.c
	$(gcc_compile) -c -O2 -DL_pthread_once $<

libgcc_stub.a: $(LIBGCCSTUB_OBJS)
	-rm -rf $@
	$(AR) rc $@ $(LIBGCCSTUB_OBJS)
	$(RANLIB) $@