From 5c91bfe34c312cea831bff837c60354c68757bf4 Mon Sep 17 00:00:00 2001 From: kkojima Date: Mon, 4 Jan 2010 23:46:56 +0000 Subject: [PATCH 1/1] PR target/42316 * 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 | 6 ++++++ libiberty/configure | 1 + libiberty/configure.ac | 1 + 3 files changed, 8 insertions(+) diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index f8ba8f7909d..c3d8f196b27 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,9 @@ +2010-01-04 Nobuhiro Iwamatsu + + PR target/42316 + * configure.ac (PICFLAG): Use -fPIC on SH hosts. + * configure: Regenerate. + 2009-12-07 Doug Evans * pex-unix.c (pex_unix_exec_child): Save/restore environ. diff --git a/libiberty/configure b/libiberty/configure index 6a3f6028d20..77aeb56c707 100755 --- a/libiberty/configure +++ b/libiberty/configure @@ -4860,6 +4860,7 @@ if [ "${shared}" = "yes" ]; then * ) PICFLAG=-fPIC ;; esac ;; s390*-*-*) PICFLAG=-fpic ;; + sh*-*-*) PICFLAG=-fPIC ;; esac fi diff --git a/libiberty/configure.ac b/libiberty/configure.ac index 6da7ea0869f..515bb338441 100644 --- a/libiberty/configure.ac +++ b/libiberty/configure.ac @@ -217,6 +217,7 @@ if [[ "${shared}" = "yes" ]]; then * ) PICFLAG=-fPIC ;; esac ;; s390*-*-*) PICFLAG=-fpic ;; + sh*-*-*) PICFLAG=-fPIC ;; esac fi AC_SUBST(PICFLAG) -- 2.11.0