[challenge] Linker surgery

Dmitry Olshansky dmitry.olsh at gmail.com
Tue May 14 11:36:28 PDT 2013


14-May-2013 22:27, Nick Sabalausky пишет:
> On Tue, 14 May 2013 18:59:22 +0400
> Dmitry Olshansky <dmitry.olsh at gmail.com> wrote:
>>
>> Now is the challenge is how do I make it NOT link in tables if I
>> don't call the corresponding functions.
>>
>
> Don't some linkers do unreferenced symbol removal?

Interestingly it does ... for functions.

> Maybe that's all
> that's needed?
>

Might be - if that was my personal need I might set off to search some 
smart linker. But the thing will end up in the standard library and 
surely there it's stuck with ld/optlink.

-- 
Dmitry Olshansky


More information about the Digitalmars-d mailing list