aboutsummaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2015-04-07 11:57:46 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2015-04-07 11:57:46 +0200
commite8a4ed3b9d834a000f0026b13cc412802aaaf368 (patch)
treee4c91613cd3d7b05ee0a406c6dbb3edcd7dd630f /libiberty
parent16a296887567ff74e41c9935cbe8eb896e0f2ecf (diff)
downloadgcc-e8a4ed3b9d834a000f0026b13cc412802aaaf368.zip
gcc-e8a4ed3b9d834a000f0026b13cc412802aaaf368.tar.gz
gcc-e8a4ed3b9d834a000f0026b13cc412802aaaf368.tar.bz2
re PR target/65351 (libiberty's pic version contains non-pic code on m32 darwin; causes bootstrap fail building libcc1.)
PR target/65351 config/ * picflag.m4: Append -mno-dynamic-no-pic for Darwin. libiberty/ * configure: Regenerate. libada/ * configure: Regenerate. libgcc/ * configure: Regenerate. gcc/ * configure: Regenerate. Co-Authored-By: Iain Sandoe <iain@codesourcery.com> From-SVN: r221891
Diffstat (limited to 'libiberty')
-rw-r--r--libiberty/ChangeLog6
-rwxr-xr-xlibiberty/configure4
2 files changed, 9 insertions, 1 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index 22e3f85..b71f492 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,9 @@
+2015-04-07 Jakub Jelinek <jakub@redhat.com>
+ Iain Sandoe <iain@codesourcery.com>
+
+ PR target/65351
+ * configure: Regenerate.
+
2015-01-19 Eli Zaretskii <eliz@gnu.org>
* strerror.c <sys_nerr, sys_errlist>: Declare only if they aren't
diff --git a/libiberty/configure b/libiberty/configure
index 2007ecc..eaed56e 100755
--- a/libiberty/configure
+++ b/libiberty/configure
@@ -4887,7 +4887,9 @@ case "${host}" in
*-*-darwin*)
# PIC is the default on this platform
# Common symbols not allowed in MH_DYLIB files
- PICFLAG=-fno-common
+ # Cancel any earlier -mdynamic-no-pic, as that makes
+ # the code not suitable for shared libraries.
+ PICFLAG='-fno-common -mno-dynamic-no-pic'
;;
alpha*-dec-osf5*)
# PIC is the default.