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
This commit is contained in:
John David Anglin 2018-01-21 17:52:44 +00:00
parent b8f63c5110
commit 07baf4a541
3 changed files with 15 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2018-01-21 John David Anglin <danglin@gcc.gnu.org>
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.
2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
* config/aarch64/value-unwind.h (aarch64_vg): New function.

View File

@ -115,3 +115,7 @@ pthread_once (void)
return 0;
}
#endif
#ifdef L_gnu_lto_v1
char gnu_lto_v1;
#endif

View File

@ -3,7 +3,8 @@ LIBGCCSTUB_OBJS = rfi-stub.o dfi-stub.o ritm-stub.o ditm-stub.o \
pthread_default_stacksize_np-stub.o \
pthread_mutex_lock-stub.o \
pthread_mutex_unlock-stub.o \
pthread_once-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 $<
@ -35,6 +36,9 @@ pthread_mutex_unlock-stub.o: $(srcdir)/config/pa/stublib.c
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)