Fix.
authorUlrich Drepper <drepper@redhat.com>
Sat, 17 Apr 2004 22:44:55 +0000 (22:44 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 17 Apr 2004 22:44:55 +0000 (22:44 +0000)
* sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Remove unneeded
frame info.
* sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.

Makeconfig
configure
configure.in
nptl/ChangeLog

index 37bbb1d..ce84c75 100644 (file)
@@ -520,7 +520,7 @@ ifndef gnulib
 ifneq ($(have-as-needed),yes)
  libgcc_eh := -lgcc_eh
 else
- libgcc_eh := --as-needed -lgcc_s --no-as-needed
+ libgcc_eh := -Wl,--as-needed -lgcc_s -Wl,--no-as-needed
 endif
 ifneq ($(have-cc-with-libunwind),yes)
  gnulib := -lgcc $(libgcc_eh)
index 17268e0..01cd516 100755 (executable)
--- a/configure
+++ b/configure
@@ -5565,7 +5565,7 @@ else
 int main (void) { return 0; }
 EOF
   if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
-                             -shared -o conftest.so conftest.c
+                             -shared -o conftest.so conftest.c -lgcc_s
                              -Wl,--as-needed -nostdlib 1>&5'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
index 1f03854..082aa1a 100644 (file)
@@ -1321,7 +1321,7 @@ EOF
 int main (void) { return 0; }
 EOF
   if AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
-                             -shared -o conftest.so conftest.c
+                             -shared -o conftest.so conftest.c -lgcc_s
                              -Wl,--as-needed -nostdlib 1>&AS_MESSAGE_LOG_FD])
   then
     libc_cv_as_needed=yes
index 4d07dac..7225ad5 100644 (file)
@@ -1,7 +1,8 @@
 2004-04-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
 
-       * sysv/linux/sh/pthread_cond_wait.S: Remove unneeded frame info.
-       * sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
+       * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Remove unneeded
+       frame info.
+       * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
 
 2004-04-15  Jakub Jelinek  <jakub@redhat.com>