diff options
-rw-r--r-- | config/ChangeLog | 6 | ||||
-rw-r--r-- | config/picflag.m4 | 4 | ||||
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rwxr-xr-x | gcc/configure | 8 | ||||
-rw-r--r-- | libada/ChangeLog | 6 | ||||
-rwxr-xr-x | libada/configure | 4 | ||||
-rw-r--r-- | libgcc/ChangeLog | 6 | ||||
-rw-r--r-- | libgcc/configure | 4 | ||||
-rw-r--r-- | libiberty/ChangeLog | 6 | ||||
-rwxr-xr-x | libiberty/configure | 4 |
10 files changed, 47 insertions, 7 deletions
diff --git a/config/ChangeLog b/config/ChangeLog index 960cd5d3999..08b9c8d8bf3 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -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 diff --git a/config/picflag.m4 b/config/picflag.m4 index 3bcdbf1de30..836523d67c9 100644 --- a/config/picflag.m4 +++ b/config/picflag.m4 @@ -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. diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c060283c73f..7f3d4a326da 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/configure b/gcc/configure index 20dbce69736..ed948285282 100755 --- a/gcc/configure +++ b/gcc/configure @@ -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 diff --git a/libada/ChangeLog b/libada/ChangeLog index 6aa56fba665..5f3a40aa889 100644 --- a/libada/ChangeLog +++ b/libada/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-05 Jakub Jelinek <jakub@redhat.com> Update copyright years. diff --git a/libada/configure b/libada/configure index 55d63fa1374..1e169758d0b 100755 --- a/libada/configure +++ b/libada/configure @@ -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. diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 959b36e0f61..6856ff2a326 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -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. diff --git a/libgcc/configure b/libgcc/configure index 9d567f9d48c..54e8712b49e 100644 --- a/libgcc/configure +++ b/libgcc/configure @@ -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. 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. |