diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2019-07-23 18:28:05 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2019-07-23 18:28:05 +0000 |
commit | 7731e84e7ec203bea2bf07a273354b78ff853ba0 (patch) | |
tree | 0ca33f701cbac984f561bacd9fef3701d8c76eda /libgcc | |
parent | 0baa9d1d59bf17177e80838ebe66df10a7a909c0 (diff) | |
parent | 40768ee0bc9965d109692f884f8588626e01e3fe (diff) | |
download | gcc-7731e84e7ec203bea2bf07a273354b78ff853ba0.zip gcc-7731e84e7ec203bea2bf07a273354b78ff853ba0.tar.gz gcc-7731e84e7ec203bea2bf07a273354b78ff853ba0.tar.bz2 |
Merge from trunk revision 273743.
From-SVN: r273744
Diffstat (limited to 'libgcc')
-rw-r--r-- | libgcc/ChangeLog | 17 | ||||
-rw-r--r-- | libgcc/config.host | 4 | ||||
-rw-r--r-- | libgcc/config/or1k/lib1funcs.S | 6 | ||||
-rw-r--r-- | libgcc/config/pa/stublib.c | 4 | ||||
-rw-r--r-- | libgcc/config/pa/t-stublib | 6 | ||||
-rw-r--r-- | libgcc/generic-morestack.c | 2 |
6 files changed, 24 insertions, 15 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index f9f900b..7997ad8 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,20 @@ +2019-07-22 Martin Liska <mliska@suse.cz> + + * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1. + * config/pa/t-stublib: Likewise. + +2019-07-22 Stafford Horne <shorne@gmail.com> + + PR target/90362 + * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi + to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate + instructions are not available on every processor. Change a + l.bnf to l.bf to fix logic issue. + +2019-07-04 Iain Sandoe <iain@sandoe.co.uk> + + * config.host: Remove reference to t-darwin8. + 2019-07-03 Iain Sandoe <iain@sandoe.co.uk> * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt diff --git a/libgcc/config.host b/libgcc/config.host index e11a065..f5ca779 100644 --- a/libgcc/config.host +++ b/libgcc/config.host @@ -1084,11 +1084,9 @@ powerpc-*-darwin*) case ${host} in *-*-darwin9* | *-*-darwin[12][0-9]*) # libSystem contains unwind information for signal frames since - # Darwin 9. We don't need longcall either. + # Darwin 9. ;; *) - # prepend the fragment forcing darwin8 codegen. - tmake_file="rs6000/t-darwin8 $tmake_file" md_unwind_header=rs6000/darwin-unwind.h ;; esac diff --git a/libgcc/config/or1k/lib1funcs.S b/libgcc/config/or1k/lib1funcs.S index d210392..6d05897 100644 --- a/libgcc/config/or1k/lib1funcs.S +++ b/libgcc/config/or1k/lib1funcs.S @@ -68,18 +68,18 @@ __udivmodsi3_internal: is not clobbered by this routine, and use that as to save a return address without creating a stack frame. */ - l.sfeqi r4, 0 /* division by zero; return 0. */ + l.sfeq r4, r0 /* division by zero; return 0. */ l.ori r11, r0, 0 /* initial quotient */ l.bf 9f l.ori r12, r3, 0 /* initial remainder */ /* Given X/Y, shift Y left until Y >= X. */ l.ori r6, r0, 1 /* mask = 1 */ -1: l.sfltsi r4, 0 /* y has msb set */ +1: l.sflts r4, r0 /* y has msb set */ l.bf 2f l.sfltu r4, r12 /* y < x */ l.add r4, r4, r4 /* y <<= 1 */ - l.bnf 1b + l.bf 1b l.add r6, r6, r6 /* mask <<= 1 */ /* Shift Y back to the right again, subtracting from X. */ diff --git a/libgcc/config/pa/stublib.c b/libgcc/config/pa/stublib.c index b47afe1..7e79dbf 100644 --- a/libgcc/config/pa/stublib.c +++ b/libgcc/config/pa/stublib.c @@ -115,7 +115,3 @@ 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 0a6223d..8004c1e 100644 --- a/libgcc/config/pa/t-stublib +++ b/libgcc/config/pa/t-stublib @@ -3,8 +3,7 @@ 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 \ - gnu_lto_v1-stub.o + pthread_once-stub.o rfi-stub.o: $(srcdir)/config/pa/stublib.c $(gcc_compile) -c -O2 -DL_register_frame_info $< @@ -36,9 +35,6 @@ 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) diff --git a/libgcc/generic-morestack.c b/libgcc/generic-morestack.c index 0f6f000..2dc3733 100644 --- a/libgcc/generic-morestack.c +++ b/libgcc/generic-morestack.c @@ -23,6 +23,8 @@ a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ +#pragma GCC optimize ("no-isolate-erroneous-paths-dereference") + /* powerpc 32-bit not supported. */ #if !defined __powerpc__ || defined __powerpc64__ |