* configure.in: On alpha*-*-osf*, link against libbfd.a if not
authorIan Lance Taylor <ian@airs.com>
Mon, 24 Jun 1996 16:04:19 +0000 (16:04 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 24 Jun 1996 16:04:19 +0000 (16:04 +0000)
using shared libraries.
* configure: Rebuild with autoconf 2.10.

binutils/ChangeLog
gprof/ChangeLog
gprof/configure
gprof/configure.in
ld/ChangeLog

index b3ef5996705361c1886f2c10a4f172fc8bc1e787..f8330fcdbf1bb85f6ca52b9b9cc390a582aa5091 100644 (file)
@@ -1,3 +1,14 @@
+Mon Jun 24 11:59:13 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure.in: On alpha*-*-osf*, link against libbfd.a if not
+       using shared libraries.
+       * configure: Rebuild with autoconf 2.10.
+
+Sun Jun 23 14:47:36 1996  Kim Knuttila  <krk@cygnus.com>
+
+       * dlltool.c (secdata): Changed .rdata to .reldata so .reloc will work.
+       (make_one_lib_file): Removed cruft. (#if 1)
+
 Wed Jun 19 14:46:38 1996  Ian Lance Taylor  <ian@cygnus.com>
 
        * objdump.c (stabs): Change from struct internal_nlist * to
index 8b671468f5719bed30fff0ebcb2cfe16b09cf014..aa881ec75cb61a0dac52088a0232299716842ab3 100644 (file)
@@ -1,3 +1,9 @@
+Mon Jun 24 12:03:09 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure.in: On alpha*-*-osf*, link against libbfd.a if not
+       using shared libraries.
+       * configure: Rebuild with autoconf 2.10.
+
 Tue Jun 18 17:35:58 1996  Ian Lance Taylor  <ian@cygnus.com>
 
        * core.c (core_create_line_syms): Use xstrdup rather than strdup.
index 282bbe2ebbde15ed45d2dd31ee1d54ab62db41cc..144832b295bf4716ff03c4fa4731f52cb98bcd5a 100755 (executable)
@@ -1,8 +1,8 @@
 #! /bin/sh
 
 # Guess values for system-dependent variables and create Makefiles.
-# Generated automatically using autoconf version 2.8 
-# Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
+# Generated automatically using autoconf version 2.10 
+# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
 #
 # This configure script is free software; the Free Software Foundation
 # gives unlimited permission to copy, distribute and modify it.
@@ -332,7 +332,7 @@ EOF
     verbose=yes ;;
 
   -version | --version | --versio | --versi | --vers)
-    echo "configure generated by autoconf version 2.8"
+    echo "configure generated by autoconf version 2.10"
     exit 0 ;;
 
   -with-* | --with-*)
@@ -790,15 +790,27 @@ esac
 BFDLIB='-L../bfd -lbfd'
 
 # We need to handle some special cases if BFD was built shared.
-if test "${shared}" = "true"; then
-  case "${host}" in
+case "${host}" in
   *-*-sunos*)
   # On SunOS, we must link against the name we are going to install,
   # not -lbfd, since SunOS does not support SONAME.
-  BFDLIB='-L../bfd -l`echo bfd | sed '"'"'$(program_transform_name)'"'"'`'
+  if test "${shared}" = "true"; then
+    BFDLIB='-L../bfd -l`echo bfd | sed '"'"'$(program_transform_name)'"'"'`'
+  fi
   ;;
-  esac
-fi
+alpha*-*-osf*)
+  # On Alpha OSF/1, the native linker searches all the -L
+  # directories for any LIB.so files, and only then searches for any
+  # LIB.a files.  That means that if there is an installed
+  # libbfd.so, but this build is not done with --enable-shared, the
+  # link will wind up being against the install libbfd.so rather
+  # than the newly built libbfd.  To avoid this, we must explicitly
+  # link against libbfd.a when --enable-shared is not used.
+  if test "${shared}" != "true"; then
+    BFDLIB='../bfd/libbfd.a'
+  fi
+  ;;
+esac
 
 
 HLDFLAGS=
@@ -933,7 +945,7 @@ do
     echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
     exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
-    echo "$CONFIG_STATUS generated by autoconf version 2.8"
+    echo "$CONFIG_STATUS generated by autoconf version 2.10"
     exit 0 ;;
   -help | --help | --hel | --he | --h)
     echo "\$ac_cs_usage"; exit 0 ;;
index 4b0a616b59a4a803b76cef7eb4490c041227f8d8..d10dcd94d5f3e62477b165360c7ce4c0c0b0d95d 100644 (file)
@@ -33,15 +33,27 @@ AC_SUBST(MY_TARGET)
 BFDLIB='-L../bfd -lbfd'
 
 # We need to handle some special cases if BFD was built shared.
-if test "${shared}" = "true"; then
-  case "${host}" in
+case "${host}" in
   *-*-sunos*)
   # On SunOS, we must link against the name we are going to install,
   # not -lbfd, since SunOS does not support SONAME.
-  BFDLIB='-L../bfd -l`echo bfd | sed '"'"'$(program_transform_name)'"'"'`'
+  if test "${shared}" = "true"; then
+    BFDLIB='-L../bfd -l`echo bfd | sed '"'"'$(program_transform_name)'"'"'`'
+  fi
   ;;
-  esac
-fi
+alpha*-*-osf*)
+  # On Alpha OSF/1, the native linker searches all the -L
+  # directories for any LIB.so files, and only then searches for any
+  # LIB.a files.  That means that if there is an installed
+  # libbfd.so, but this build is not done with --enable-shared, the
+  # link will wind up being against the install libbfd.so rather
+  # than the newly built libbfd.  To avoid this, we must explicitly
+  # link against libbfd.a when --enable-shared is not used.
+  if test "${shared}" != "true"; then
+    BFDLIB='../bfd/libbfd.a'
+  fi
+  ;;
+esac
 AC_SUBST(BFDLIB)
 
 HLDFLAGS=
index fe05db868720455596847ba195bc3b8675202b10..19378ce4cc5f826e362f8f3638e186bc3b1977e7 100644 (file)
@@ -1,3 +1,9 @@
+Mon Jun 24 12:00:32 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure.in: On alpha*-*-osf*, link against libbfd.a if not
+       using shared libraries.
+       * configure: Rebuild with autoconf 2.10.
+
 Fri Jun 21 17:40:56 1996  Joel Sherrill  <joel@merlin.gcs.redstone.army.mil>
 
        * configure.tgt: Add support for *-*-rtems* configurations.
This page took 0.035587 seconds and 4 git commands to generate.