re PR lto/83452 (FAIL: gfortran.dg/save_6.f90 -O0 (test for excess errors))
authorJohn David Anglin <danglin@gcc.gnu.org>
Sun, 21 Jan 2018 17:52:44 +0000 (17:52 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Sun, 21 Jan 2018 17:52:44 +0000 (17:52 +0000)
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

libgcc/ChangeLog
libgcc/config/pa/stublib.c
libgcc/config/pa/t-stublib

index 85738df894f2565c17e61c37e9119ce882e306c5..7a530b20235874631e6326330ee6452d7d74547b 100644 (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.
index a333a2ad6aac9c0d0195c6c6bacb6e4e834faf9a..3840b695f229d8ada80ee9d283a37f3a71a9ed70 100644 (file)
@@ -115,3 +115,7 @@ pthread_once (void)
   return 0;
 }
 #endif
+
+#ifdef L_gnu_lto_v1
+char gnu_lto_v1;
+#endif
index 8004c1e46a78fffdd7e1feac25d717212b8a2e22..0a6223d952eaa117e1a40cd7f931fe9ac245d475 100644 (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)