===================================================================
@@ -115,3 +115,7 @@
return 0;
}
#endif
+
+#ifdef L_gnu_lto_v1
+char gnu_lto_v1;
+#endif
===================================================================
@@ -3,7 +3,8 @@
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_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)