[Issue 13117] Executable size of hello world explodes from 472K to 2.7M
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu Jul 17 00:18:30 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=13117
--- Comment #10 from github-bugzilla at puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/f8bcda05a8193c4180815d067713cf4b6e7884bf
fix Issue 13117 - Executable size of hello world explodes from 472K to 2.7M
- 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.
- fixed by always marking those sections as writeable
https://github.com/D-Programming-Language/dmd/commit/5f3a83a890a3e3f106e89d5423993eae9945dc3b
Merge pull request #3778 from MartinNowak/fix13117
fix Issue 13117 - Executable size of hello world explodes from 472K to 2.7M
--
More information about the Digitalmars-d-bugs
mailing list