__attribute__((used)) and druntime

w0rp via Digitalmars-d digitalmars-d at puremagic.com
Sat Apr 11 10:05:45 PDT 2015


On Saturday, 11 April 2015 at 15:59:53 UTC, David Nadlinger wrote:
> On Saturday, 11 April 2015 at 15:35:47 UTC, w0rp wrote:
>> […] (Also LDC?) in druntime and flag all of the symbols like 
>> this appropriately, so that creating executables with 
>> gc-sections will Just Work in some cases without a linker 
>> script?
>
> LDC is shipping with --gc-sections enabled by default since a 
> couple of releases, without a custom linker script.
>
>  — David

Ah. I was also wondering if this was now essentially a solved 
problem.


More information about the Digitalmars-d mailing list