merge from gcc
authorDJ Delorie <dj@redhat.com>
Mon, 21 Apr 2008 22:30:17 +0000 (22:30 +0000)
committerDJ Delorie <dj@redhat.com>
Mon, 21 Apr 2008 22:30:17 +0000 (22:30 +0000)
libiberty/ChangeLog
libiberty/configure
libiberty/configure.ac

index 807182529844928582138e0b46198eb1f7787259..18d77077aca2fe7a9af887f1560c76cd394859b5 100644 (file)
@@ -1,3 +1,8 @@
+2008-04-21  Aurelien Jarno  <aurelien@aurel32.net>
+
+       * libiberty/configure.ac: use -fPIC on Linux/MIPS hosts.
+       * libiberty/configure: Regenerate.
+
 2008-04-18  Kris Van Hees <kris.van.hees@oracle.com>
 
        * testsuite/demangle-expected: Added tests for char16_t and char32_t.
index f47833ad97b78f977722cff1e27a0c3c18009007..83e55b8eb6c54d40d69829e45d42a33d812e9b85 100755 (executable)
@@ -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
index f5df5582b362a076c1874a16e2d1f463584330d4..419351bbb93d5f40fd60a3cc07465df9fb8e848b 100644 (file)
@@ -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