summaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2010-01-08 13:20:13 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2010-01-08 13:20:13 +0000
commit81713f9386aaa3397ac44284a7d6f90fc4b7040e (patch)
treef10f2534b770430a68f03c63d4712a183babb994 /libiberty
parent39e46e4d64364c5b3381604f6158672745e19d64 (diff)
downloadgcc-81713f9386aaa3397ac44284a7d6f90fc4b7040e.tar.gz
2010-01-08 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 155725 {{also coded a bit the infix parser in gcc/melt/ etc..}} {{merged with trunk rev 155725, and minor additions}} * gcc/melt-runtime.c: removed useless trailing spaces. * gcc/melt/warmelt-infixsyntax.melt: added more, notably class_infix_parser, class_infix_delimiter some delimiters and our backtrackable getlex & peeklex functions. Still very incomplete. * gcc/melt/warmelt-outobj.melt: added the translate_macroexpanded_list function to ease factoring out the common translation between infix & lisp syntaxes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@155734 138bc75d-0d04-0410-961f-82ee72b054a4
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 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)