gcc/libgcc/config/pa/t-stublib
John David Anglin 07baf4a541 re PR lto/83452 (FAIL: gfortran.dg/save_6.f90 -O0 (test for excess errors))
PR lto/83452
	* config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
	* config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.

From-SVN: r256933
2018-01-21 17:52:44 +00:00

46 lines
1.4 KiB
Plaintext

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 \
gnu_lto_v1-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 $<
gnu_lto_v1-stub.o: $(srcdir)/config/pa/stublib.c
$(gcc_compile) -c -O2 -DL_gnu_lto_v1 $<
libgcc_stub.a: $(LIBGCCSTUB_OBJS)
-rm -rf $@
$(AR) rc $@ $(LIBGCCSTUB_OBJS)
$(RANLIB) $@