This has been brought up before:
[1] http://forum.dlang.org/post/cqzazaqxpwezignix...@forum.dlang.org [2] http://forum.dlang.org/post/zapxhodqmotriapue...@forum.dlang.org

But I'd like to know what GDC's long term plans are to enable removing dead code from executables.

(1) Adding a D-specific linker script in GDC that gets automagically passed to the linker?
(2) Adding a D-specific linker script to binutils?
(3) LTO in GCC/binutils?

(2) sounds a little weird, but I got the impression from discussion [1] that that was part of the plan. I don't understand why binutils should have to know about D's codegen, but there's a lot of things I don't understand.

Anyway, please let me know what the plan is, and if there is anything I might be able to do to move it forward.

Mike

Reply via email to