]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
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 37bbb1df4c2f8bc084c5047c1cea14d4f844c87b..ce84c756242cc8446c7f9f70af5a092338435aa0 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 17268e0d95e267dadf7a7d7bd09ee09ee962aa27..01cd51684156b7b81ef839372d55fad54c6d4509 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 1f038545345908b2efc2fbcc6bcd982f84c7ce43..082aa1ac42d4bc6260b7b7ae6048b29af533d303 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 4d07dac5eed54f8e9b715313b5fb41f8b0f3ae7f..7225ad50575cfc510e19b37c55cfdfb9e02b80ad 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>