Linux/MIPS hosts.
* configure: Regenerate.
+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.
*-*-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
*-*-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)