diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-04-07 09:57:46 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-04-07 09:57:46 +0000 |
commit | b1b085e0055433d02d8b8d8ab1a5c96191625c8b (patch) | |
tree | e4c91613cd3d7b05ee0a406c6dbb3edcd7dd630f /config | |
parent | 236688012bd2bafe91a0eda34ff73aa79bf2dbac (diff) | |
download | gcc-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 'config')
-rw-r--r-- | config/ChangeLog | 6 | ||||
-rw-r--r-- | config/picflag.m4 | 4 |
2 files changed, 9 insertions, 1 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. |