From e8a4ed3b9d834a000f0026b13cc412802aaaf368 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Tue, 7 Apr 2015 11:57:46 +0200 Subject: 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 From-SVN: r221891 --- libiberty/ChangeLog | 6 ++++++ libiberty/configure | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'libiberty') 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 + Iain Sandoe + + PR target/65351 + * configure: Regenerate. + 2015-01-19 Eli Zaretskii * strerror.c : 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. -- cgit v1.1