https://issues.dlang.org/show_bug.cgi?id=13117

--- Comment #10 from [email protected] ---
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

--

Reply via email to