diff options
author | kkojima <kkojima@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-01-04 23:46:56 +0000 |
---|---|---|
committer | kkojima <kkojima@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-01-04 23:46:56 +0000 |
commit | 5c91bfe34c312cea831bff837c60354c68757bf4 (patch) | |
tree | 2760aa5a318eed062f7986ebb0f1af8a0ca77634 /libiberty | |
parent | 880061288f932e406b8539b0c8abf5203dafc13b (diff) | |
download | gcc-5c91bfe34c312cea831bff837c60354c68757bf4.tar.gz |
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
Diffstat (limited to 'libiberty')
-rw-r--r-- | libiberty/ChangeLog | 6 | ||||
-rwxr-xr-x | libiberty/configure | 1 | ||||
-rw-r--r-- | libiberty/configure.ac | 1 |
3 files changed, 8 insertions, 0 deletions
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 <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. 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) |