__attribute__((used)) and druntime

David Nadlinger via Digitalmars-d digitalmars-d at puremagic.com
Sat Apr 11 08:59:52 PDT 2015


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


More information about the Digitalmars-d mailing list