aboutsummaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2010-01-05 21:10:30 +0000
committerDJ Delorie <dj@redhat.com>2010-01-05 21:10:30 +0000
commit43e85a8f541dcc299092452d816749cf99e31d60 (patch)
tree13a07425783335abf7d668da97ba93920894dcfb /libiberty
parentce6cca6d61556fecbabbca20f49e8e76545b6bc6 (diff)
downloadgdb-43e85a8f541dcc299092452d816749cf99e31d60.zip
gdb-43e85a8f541dcc299092452d816749cf99e31d60.tar.gz
gdb-43e85a8f541dcc299092452d816749cf99e31d60.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty')
-rw-r--r--libiberty/ChangeLog6
-rwxr-xr-xlibiberty/configure1
-rw-r--r--libiberty/configure.ac1
3 files changed, 8 insertions, 0 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index f8ba8f7..c3d8f19 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 6a3f602..77aeb56 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 6da7ea0..515bb33 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)