From: DJ Delorie Date: Mon, 21 Apr 2008 22:30:17 +0000 (+0000) Subject: merge from gcc X-Git-Tag: sid-snapshot-20080501~95 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=017c1138771207ebe4d2e4108005c7114ee3e689;p=platform%2Fupstream%2Fbinutils.git merge from gcc --- diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 8071825..18d7707 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,8 @@ +2008-04-21 Aurelien Jarno + + * libiberty/configure.ac: use -fPIC on Linux/MIPS hosts. + * libiberty/configure: Regenerate. + 2008-04-18 Kris Van Hees * testsuite/demangle-expected: Added tests for char16_t and char32_t. diff --git a/libiberty/configure b/libiberty/configure index f47833a..83e55b8 100755 --- a/libiberty/configure +++ b/libiberty/configure @@ -3729,6 +3729,7 @@ if [ "${shared}" = "yes" ]; then i[34567]86-*-* | x86_64-*-*) PICFLAG=-fpic ;; m68k-*-*) PICFLAG=-fpic ;; + mips*-*-linux) PICFLAG=-fPIC ;; powerpc*-*-aix*) ;; powerpc*-*-*) PICFLAG=-fPIC ;; sparc*-*-*) case "${CFLAGS}" in diff --git a/libiberty/configure.ac b/libiberty/configure.ac index f5df558..419351b 100644 --- a/libiberty/configure.ac +++ b/libiberty/configure.ac @@ -208,6 +208,7 @@ if [[ "${shared}" = "yes" ]]; then i[[34567]]86-*-* | x86_64-*-*) PICFLAG=-fpic ;; m68k-*-*) PICFLAG=-fpic ;; + mips*-*-linux) PICFLAG=-fPIC ;; powerpc*-*-aix*) ;; powerpc*-*-*) PICFLAG=-fPIC ;; sparc*-*-*) case "${CFLAGS}" in