[Bug c++/87380] Explicit instantations should use weak symbols on darwin

iains at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Dec 23 20:56:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87380

--- Comment #20 from Iain Sandoe <iains at gcc dot gnu.org> ---
Author: iains
Date: Sun Dec 23 20:55:39 2018
New Revision: 267386

URL: https://gcc.gnu.org/viewcvs?rev=267386&root=gcc&view=rev
Log:
darwin, fix c++/87380 by backproting r266866.

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

It's no longer needed.

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

        Backport from mainline
        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.


Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/config/darwin.h
    branches/gcc-8-branch/gcc/config/rs6000/darwin7.h


More information about the Gcc-bugs mailing list