]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR target/13250 ([3.4 only] [SH] Gcc code for rotation clobbers the register,...
authorKaz Kojima <kkojima@gcc.gnu.org>
Mon, 26 Jul 2004 00:47:38 +0000 (00:47 +0000)
committerKaz Kojima <kkojima@gcc.gnu.org>
Mon, 26 Jul 2004 00:47:38 +0000 (00:47 +0000)
PR target/13250
Backport from mainline:
* config/sh/sh.md (rotlsi3): Use emit_move_insn.

PR target/15647
Backport from mainline:
* config/sh/t-linux (SHLIB_MAPFILES): Use sh specific
libgcc-std.ver.
* config/sh/libgcc-std.ver: New file.

PR bootstrap/15120
* libstdc++-v3/configure: Rebuilt.

From-SVN: r85176

gcc/ChangeLog
gcc/config/sh/libgcc-std.ver
gcc/config/sh/sh.md
gcc/config/sh/t-linux
libstdc++-v3/ChangeLog
libstdc++-v3/configure

index 33c3a085d38cc63b8379ace4d4b94b607368a25a..99e443d6f7760f863734a5934f3bba53a3343706 100644 (file)
@@ -1,3 +1,15 @@
+2004-07-25  Kaz Kojima  <kkojima@gcc.gnu.org>
+
+       PR target/13250
+       Backport from mainline:
+       * config/sh/sh.md (rotlsi3): Use emit_move_insn.
+
+       PR target/15647
+       Backport from mainline:
+       * config/sh/t-linux (SHLIB_MAPFILES): Use sh specific
+       libgcc-std.ver.
+       * config/sh/libgcc-std.ver: New file.
+
 2004-07-25  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
 
        PR target/15202
index bd4cfbf3d344016c314278f7903c27f28ceadcbe..2862b8d193350172ecf1544e5a40bd9cde458eb5 100644 (file)
@@ -194,25 +194,3 @@ GCC_3.3.1 {
 %inherit GCC_3.3.2 GCC_3.3.1
 GCC_3.3.2 {
 }
-%inherit GCC_3.3.4 GCC_3.3.2
-GCC_3.3.4 {
-  __unorddf2
-  __unordsf2
-}
-
-%inherit GCC_3.4 GCC_3.3.4
-GCC_3.4 {
-  # bit scanning and counting built-ins
-  __clzsi2
-  __clzdi2
-  __clzti2
-  __ctzsi2
-  __ctzdi2
-  __ctzti2
-  __popcountsi2
-  __popcountdi2
-  __popcountti2
-  __paritysi2
-  __paritydi2
-  __parityti2
-}
index 41106d502df3e89583c1de2a607aadcae06a8564..75d9fd8beb7d774b4622d112728969b86f4ffaf3 100644 (file)
        parts[0] = gen_reg_rtx (SImode);
        parts[1] = gen_reg_rtx (SImode);
        emit_insn (gen_rotlsi3_16 (parts[2-choice], operands[1]));
-       parts[choice-1] = operands[1];
+       emit_move_insn (parts[choice-1], operands[1]);
        emit_insn (gen_ashlsi3 (parts[0], parts[0], GEN_INT (8)));
        emit_insn (gen_lshrsi3 (parts[1], parts[1], GEN_INT (8)));
        emit_insn (gen_iorsi3 (operands[0], parts[0], parts[1]));
index 14d1ad35386dbb4024a8f0708f2d855ba801e96b..3dd63fc7ea926908350695e64eb335a293522a26 100644 (file)
@@ -14,8 +14,11 @@ MULTILIB_EXCEPTIONS=
 EXTRA_MULTILIB_PARTS= crtbegin.o crtend.o crtbeginS.o crtendS.o
 
 # Override t-slibgcc-elf-ver to export some libgcc symbols with
-# the symbol versions that glibc used.
-SHLIB_MAPFILES =  $(srcdir)/libgcc-std.ver $(srcdir)/config/sh/libgcc-glibc.ver
+# the symbol versions that glibc used.  Also use sh specific
+# libgcc-std.ver to avoid to export some lib1func routines which
+# shoud not be called via PLT.
+SHLIB_MAPFILES =  $(srcdir)/config/sh/libgcc-std.ver \
+       $(srcdir)/config/sh/libgcc-glibc.ver
 
 # Override SHLIB_LINK and SHLIB_INSTALL to use linker script
 # libgcc_s.so.
index b773833b0b12c626a0d4d858717b912b5cb9e223..091f63d2b4363bd3b71f45fb9d96163b0d245840 100644 (file)
@@ -1,3 +1,8 @@
+2004-07-25  Kaz Kojima  <kkojima@gcc.gnu.org>
+
+       PR bootstrap/15120
+       * configure: Rebuilt.
+
 2004-07-08  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * testsuite/22_locale/time_put_members_char.cc (test01): Allow either 
index 3bdeef5c1594e2f89378d868b35c7dc1f032cf41..1486cb89f4ecd8693c7fc49181c81200c12028df 100755 (executable)
@@ -2009,7 +2009,7 @@ irix5* | irix6*)
 # This must be Linux ELF.
 linux-gnu*)
   case $host_cpu in
-  alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
+  alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* | sh* )
     lt_cv_deplibs_check_method=pass_all ;;
   *)
     # glibc up to 2.1.1 does not perform some relocations on ARM