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
This commit is contained in:
Jakub Jelinek 2015-04-07 11:57:46 +02:00 committed by Jakub Jelinek
parent 16a2968875
commit e8a4ed3b9d
10 changed files with 47 additions and 7 deletions

View File

@ -1,3 +1,9 @@
2015-04-07 Jakub Jelinek <jakub@redhat.com>
Iain Sandoe <iain@codesourcery.com>
PR target/65351
* picflag.m4: Append -mno-dynamic-no-pic for Darwin.
2015-03-25 Uros Bizjak <ubizjak@gmail.com>
PR bootstrap/65537

View File

@ -9,7 +9,9 @@ case "${$2}" in
*-*-darwin*)
# PIC is the default on this platform
# Common symbols not allowed in MH_DYLIB files
$1=-fno-common
# Cancel any earlier -mdynamic-no-pic, as that makes
# the code not suitable for shared libraries.
$1='-fno-common -mno-dynamic-no-pic'
;;
alpha*-dec-osf5*)
# PIC is the default.

View File

@ -1,3 +1,9 @@
2015-04-07 Jakub Jelinek <jakub@redhat.com>
Iain Sandoe <iain@codesourcery.com>
PR target/65351
* configure: Regenerate.
2015-04-06 Michael Meissner <meissner@linux.vnet.ibm.com>
PR target/65614

8
gcc/configure vendored
View File

@ -4788,7 +4788,9 @@ case "${target}" in
*-*-darwin*)
# PIC is the default on this platform
# Common symbols not allowed in MH_DYLIB files
PICFLAG_FOR_TARGET=-fno-common
# Cancel any earlier -mdynamic-no-pic, as that makes
# the code not suitable for shared libraries.
PICFLAG_FOR_TARGET='-fno-common -mno-dynamic-no-pic'
;;
alpha*-dec-osf5*)
# PIC is the default.
@ -18147,7 +18149,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 18150 "configure"
#line 18152 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -18253,7 +18255,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 18256 "configure"
#line 18258 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

View File

@ -1,3 +1,9 @@
2015-04-07 Jakub Jelinek <jakub@redhat.com>
Iain Sandoe <iain@codesourcery.com>
PR target/65351
* configure: Regenerate.
2015-01-05 Jakub Jelinek <jakub@redhat.com>
Update copyright years.

4
libada/configure vendored
View File

@ -2826,7 +2826,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.

View File

@ -1,3 +1,9 @@
2015-04-07 Jakub Jelinek <jakub@redhat.com>
Iain Sandoe <iain@codesourcery.com>
PR target/65351
* configure: Regenerate.
2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
* config.host (nios2-*-linux*): Remove 'extra_parts' setting.

4
libgcc/configure vendored
View File

@ -2305,7 +2305,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.

View File

@ -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

4
libiberty/configure vendored
View File

@ -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.