[Issue 879] support for --gc-sections

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue May 27 16:44:58 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=879

--- Comment #12 from Martin Nowak <code at dawg.eu> ---
(In reply to Orvid King from comment #11)
> It would also be nice if a dmd equivalent of -fdata-sections and
> -ffunction-sections was supported by dmd, but the issue with that is quite
> simple; optlink.

If you build a -lib, then the compiler will put every symbol into it's own
object.
This is a linux bug, so it's the wrong place for an optlink rant ;).

--


More information about the Digitalmars-d-bugs mailing list