Can't add the allocated section to elf file using inline assembly

drug drug2004 at bk.ru
Fri Nov 8 09:27:21 UTC 2019


On 11/7/19 6:20 PM, kinke wrote:
> On Thursday, 7 November 2019 at 14:58:24 UTC, drug wrote:
>> What can be the reason of this?
> 
> --gc-sections applied by LDC by default - use -disable-linker-strip-dead 
> to keep unreferenced sections.

Thank you very much! It works now.

What is the best way to create a reference to this section to prevent 
its stripping?


More information about the digitalmars-d-ldc mailing list