[PATCH users/roland/ld-start-stop-visibility] gold, ld: Implement -z start-stop-visibility=... option.

Roland McGrath mcgrathr@google.com
Mon Jun 15 20:52:37 GMT 2020


On Mon, Jun 15, 2020 at 1:48 PM Fangrui Song <i@maskray.me> wrote:
> Hope we can re-consider the resolution to
> https://sourceware.org/bugzilla/show_bug.cgi?id=21964
>
> -z start-stop-visibility=hidden  is a better default.

I agree.  But realistically, changing arcane things affecting
compatibility of existing code bases is nearly impossible.  It's far
more tractable for those who really understand the issues and are
using the features in new code to use the new switch explicitly, and
for people defining new ABIs without legacy compatibility concerns to
make the compiler driver pass the better default to the linker
implicitly (as we will do for Fuchsia).


More information about the Binutils mailing list