summaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2015-04-07 09:57:46 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2015-04-07 09:57:46 +0000
commitb1b085e0055433d02d8b8d8ab1a5c96191625c8b (patch)
treee4c91613cd3d7b05ee0a406c6dbb3edcd7dd630f /libiberty
parent236688012bd2bafe91a0eda34ff73aa79bf2dbac (diff)
downloadgcc-b1b085e0055433d02d8b8d8ab1a5c96191625c8b.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@221891 138bc75d-0d04-0410-961f-82ee72b054a4
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 22e3f8504b3..b71f4922962 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 2007ecc76b1..eaed56e3e1b 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.