aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2008-04-14 19:58:48 +0000
committerThiemo Seufer <ths@networkno.de>2008-04-14 19:58:48 +0000
commitc5cb844243e6f18fe7bda3688e1c918f4c7e21be (patch)
treedd32d458ec0ac66131b122d2b834a3849925d3de /bfd
parentaa11fd3fc49287c58a04f7b84be0eee10bafef68 (diff)
downloadgdb-c5cb844243e6f18fe7bda3688e1c918f4c7e21be.zip
gdb-c5cb844243e6f18fe7bda3688e1c918f4c7e21be.tar.gz
gdb-c5cb844243e6f18fe7bda3688e1c918f4c7e21be.tar.bz2
* configure.in: Link with the PIC version of libiberty on
Linux/MIPS hosts. * configure: Regenerate.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog6
-rwxr-xr-xbfd/configure18
-rw-r--r--bfd/configure.in18
3 files changed, 14 insertions, 28 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 9614a83..5726af5 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+2008-04-14 Aurelien Jarno <aurelien@aurel32.net>
+
+ * configure.in: Link with the PIC version of libiberty on
+ Linux/MIPS hosts.
+ * configure: Regenerate.
+
2008-04-14 Edmar Wienskoski <edmar@freescale.com>
* archures.c: Add bfd_mach_ppc_e500mc.
diff --git a/bfd/configure b/bfd/configure
index ab6c3e7..a3eeaa5 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -18909,20 +18909,10 @@ case "${host}" in
*-*-linux*)
# We borrow WIN32LIBADD so that the shared libbfd won't depend on
# libiberty.a.
- case "${host}" in
- mips*-*-linux*)
- # Linux/MIPS uses PIC by default.
- if test "$enable_shared" = "yes"; then
- WIN32LIBADD="-L../libiberty -liberty"
- fi
- ;;
- *)
- x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
- if test -n "$x"; then
- WIN32LIBADD="-L../libiberty/pic -liberty"
- fi
- ;;
- esac
+ x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
+ if test -n "$x"; then
+ WIN32LIBADD="-L../libiberty/pic -liberty"
+ fi
;;
esac
diff --git a/bfd/configure.in b/bfd/configure.in
index 99ea584..947f79d 100644
--- a/bfd/configure.in
+++ b/bfd/configure.in
@@ -492,22 +492,12 @@ case "${host}" in
*-*-linux*)
# We borrow WIN32LIBADD so that the shared libbfd won't depend on
# libiberty.a.
- case "${host}" in
- mips*-*-linux*)
- # Linux/MIPS uses PIC by default.
- if test "$enable_shared" = "yes"; then
- WIN32LIBADD="-L../libiberty -liberty"
- fi
- ;;
- *)
changequote(,)dnl
- x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
+ x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
changequote([,])dnl
- if test -n "$x"; then
- WIN32LIBADD="-L../libiberty/pic -liberty"
- fi
- ;;
- esac
+ if test -n "$x"; then
+ WIN32LIBADD="-L../libiberty/pic -liberty"
+ fi
;;
esac
AC_SUBST(WIN32LDFLAGS)