OSDN Git Service

PR target/42316
authorkkojima <kkojima@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 Jan 2010 23:46:56 +0000 (23:46 +0000)
committerkkojima <kkojima@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 Jan 2010 23:46:56 +0000 (23:46 +0000)
* configure.ac (PICFLAG): Use -fPIC on SH hosts.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155634 138bc75d-0d04-0410-961f-82ee72b054a4

libiberty/ChangeLog
libiberty/configure
libiberty/configure.ac

index f8ba8f7..c3d8f19 100644 (file)
@@ -1,3 +1,9 @@
+2010-01-04  Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
+
+       PR target/42316
+       * configure.ac (PICFLAG): Use -fPIC on SH hosts.
+       * configure: Regenerate.
+
 2009-12-07  Doug Evans  <dje@google.com>
 
        * pex-unix.c (pex_unix_exec_child): Save/restore environ.
index 6a3f602..77aeb56 100755 (executable)
@@ -4860,6 +4860,7 @@ if [ "${shared}" = "yes" ]; then
                          * ) PICFLAG=-fPIC ;;
                        esac ;;
     s390*-*-*)         PICFLAG=-fpic ;;
+    sh*-*-*)           PICFLAG=-fPIC ;;
   esac
 fi
 
index 6da7ea0..515bb33 100644 (file)
@@ -217,6 +217,7 @@ if [[ "${shared}" = "yes" ]]; then
                          * ) PICFLAG=-fPIC ;;
                        esac ;;
     s390*-*-*)         PICFLAG=-fpic ;;
+    sh*-*-*)           PICFLAG=-fPIC ;;
   esac
 fi
 AC_SUBST(PICFLAG)