[Issue 13117] Executable size of hello world explodes from 472K to 2.7M
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Jul 16 16:24:20 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=13117
Martin Nowak <code at dawg.eu> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
--- Comment #8 from Martin Nowak <code at dawg.eu> ---
This problem seems to stem from mixed writeable flags for the
.deh/.minfo sections in PIC/non-PIC code. The ld.bfd linker would
still try to bracket the sections, even though it previously mapped
them to different segments, thereby creating one huge segment which
contains all read-only and all writeable data plus the big hole in
between them.
https://github.com/D-Programming-Language/dmd/pull/3778
--
More information about the Digitalmars-d-bugs
mailing list