summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/lib/libstdc++/ltcf-cxx.sh3
-rw-r--r--gnu/usr.bin/gcc/gcc/config/sh/lib1funcs.asm6
-rw-r--r--gnu/usr.bin/perl/hints/openbsd.sh2
3 files changed, 7 insertions, 4 deletions
diff --git a/gnu/lib/libstdc++/ltcf-cxx.sh b/gnu/lib/libstdc++/ltcf-cxx.sh
index 07f4e9a8a55..7710b0ee652 100644
--- a/gnu/lib/libstdc++/ltcf-cxx.sh
+++ b/gnu/lib/libstdc++/ltcf-cxx.sh
@@ -422,6 +422,9 @@ case $host_os in
if [ "$host_cpu" = "hppa" ]; then
deplibs_check_method=pass_all;
fi
+ if [ "$host_cpu" = "sh" ]; then
+ deplibs_check_method=pass_all;
+ fi
;;
osf3*)
case $cc_basename in
diff --git a/gnu/usr.bin/gcc/gcc/config/sh/lib1funcs.asm b/gnu/usr.bin/gcc/gcc/config/sh/lib1funcs.asm
index 743d997dffd..5047e607e60 100644
--- a/gnu/usr.bin/gcc/gcc/config/sh/lib1funcs.asm
+++ b/gnu/usr.bin/gcc/gcc/config/sh/lib1funcs.asm
@@ -39,7 +39,7 @@ Boston, MA 02111-1307, USA. */
#ifdef __ELF__
#define LOCAL(X) .L_##X
-#define FUNC(X,Y) .type X,Y
+#define FUNC(X,Y) .type X,Y; .hidden X
#define ENDFUNC(X) .size X,.-X
#else
#define LOCAL(X) L_##X
@@ -376,7 +376,7 @@ LOCAL(ashrsi3_0):
! (none)
!
.global GLOBAL(ashlsi3)
- FUNC(GLOBAL(ashrsi3),function)
+ FUNC(GLOBAL(ashlsi3),function)
.align 2
GLOBAL(ashlsi3):
mov #31,r0
@@ -390,7 +390,7 @@ GLOBAL(ashlsi3):
braf r5
#endif
mov r4,r0
- ENDFUNC(GLOBAL(ashrsi3))
+ ENDFUNC(GLOBAL(ashlsi3))
.align 2
LOCAL(ashlsi3_table):
diff --git a/gnu/usr.bin/perl/hints/openbsd.sh b/gnu/usr.bin/perl/hints/openbsd.sh
index 06164af8f74..9257ac37668 100644
--- a/gnu/usr.bin/perl/hints/openbsd.sh
+++ b/gnu/usr.bin/perl/hints/openbsd.sh
@@ -35,7 +35,7 @@ esac
#
ARCH=`arch | sed 's/^OpenBSD.//'`
case "${ARCH}-${osvers}" in
-alpha-2.[0-8]|mips-2.[0-8]|powerpc-2.[0-7]|m88k-*|hppa-3.[0-5]|vax-*|sh-*)
+alpha-2.[0-8]|mips-2.[0-8]|powerpc-2.[0-7]|m88k-*|hppa-3.[0-5]|vax-*)
test -z "$usedl" && usedl=$undef
;;
*)