aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1996-08-25 23:59:31 +0000
committerUlrich Drepper <drepper@redhat.com>1996-08-25 23:59:31 +0000
commit655a5796e79d734ba2eb76e1238667ea1c2ae64b (patch)
tree1d6ad65451c2b3ded4b8c00c6744896462e01ea7
parent(line_wrap_stream): Initialize D->seek. (diff)
downloadglibc-655a5796e79d734ba2eb76e1238667ea1c2ae64b.tar.gz
glibc-655a5796e79d734ba2eb76e1238667ea1c2ae64b.tar.bz2
glibc-655a5796e79d734ba2eb76e1238667ea1c2ae64b.zip
Add definition of __eh_pc and __throw to --no-whole-archive test program.
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index 1882a6c6ca..91817b328b 100755
--- a/configure
+++ b/configure
@@ -1560,10 +1560,12 @@ if eval "test \"`echo '$''{'libc_cv_ld_no_whole_archive'+set}'`\" = set"; then
else
cat > conftest.c <<\EOF
_start () {}
+int __eh_pc;
+__throw () {}
EOF
if { ac_try='${CC-cc} $CFLAGS
-nostdlib -nostartfiles -Wl,--no-whole-archive
- -o conftest conftest.c'; { (eval echo configure:1567: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
+ -o conftest conftest.c'; { (eval echo configure:1569: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
libc_cv_ld_no_whole_archive=yes
else
libc_cv_ld_no_whole_archive=no