[Issue 879] support for --gc-sections
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat Jul 5 09:32:01 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=879
--- Comment #19 from Martin Nowak <code at dawg.eu> ---
(In reply to Martin Nowak from comment #18)
> I can also reference .minfo_beg/.minfo/.minfo_end in each ctor.
Actually this doesn't work with ld.gold because dmd only uses a single ctor per
DSO (COMDAT) and ld.gold will merge the ctors before checking their references.
So I only end up with the .minfo* sections of the first object file.
--
More information about the Digitalmars-d-bugs
mailing list