Darwin - fix PR c++/87380
authorIain Sandoe <iain@sandoe.co.uk>
Thu, 6 Dec 2018 20:09:26 +0000 (20:09 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Thu, 6 Dec 2018 20:09:26 +0000 (20:09 +0000)
commit6e00bd6eb238f106101e32ce5c76b4b3ab8e26cc
treecb1b7ac9c9b663786c048e87d805e55faf1334af
parent89a249f2ecbdfe856dab2cd82f913a93c88ecbfe
Darwin - fix PR c++/87380

This is [intentionally] broken C++ ABI, that was catering for a
tool problem that existed in a very old Darwin toolchain.

The issue is not present after Darwin7 (using default system
tools) so confine the fix to that revision or earlier.

2018-12-06  Iain Sandoe  <iain@sandoe.co.uk>

PR c++/87380
* config/darwin.h (TARGET_WEAK_NOT_IN_ARCHIVE_TOC) Remove; use the
default.
* config/rs6000/darwin7.h (TARGET_WEAK_NOT_IN_ARCHIVE_TOC): New.

From-SVN: r266866
gcc/ChangeLog
gcc/config/darwin.h
gcc/config/rs6000/darwin7.h