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)
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
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
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>