aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorJohn David Anglin <danglin@gcc.gnu.org>2018-01-21 17:52:44 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2018-01-21 17:52:44 +0000
commit07baf4a541d710bc5f1713cb168650ce5c210304 (patch)
tree994737f9956359bd4a1763d559d8ecb03350be39 /libgcc
parentb8f63c51104a1e97754dd6d4d9dcd49307b850aa (diff)
downloadgcc-07baf4a541d710bc5f1713cb168650ce5c210304.zip
gcc-07baf4a541d710bc5f1713cb168650ce5c210304.tar.gz
gcc-07baf4a541d710bc5f1713cb168650ce5c210304.tar.bz2
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
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/ChangeLog6
-rw-r--r--libgcc/config/pa/stublib.c4
-rw-r--r--libgcc/config/pa/t-stublib6
3 files changed, 15 insertions, 1 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index 85738df..7a530b2 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -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.
diff --git a/libgcc/config/pa/stublib.c b/libgcc/config/pa/stublib.c
index a333a2a..3840b69 100644
--- a/libgcc/config/pa/stublib.c
+++ b/libgcc/config/pa/stublib.c
@@ -115,3 +115,7 @@ pthread_once (void)
return 0;
}
#endif
+
+#ifdef L_gnu_lto_v1
+char gnu_lto_v1;
+#endif
diff --git a/libgcc/config/pa/t-stublib b/libgcc/config/pa/t-stublib
index 8004c1e..0a6223d 100644
--- a/libgcc/config/pa/t-stublib
+++ b/libgcc/config/pa/t-stublib
@@ -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)