D-Programming-Language/dmd — pull request #3778 by MartinNowak (2014-07-16 23:23:11+00:00)
Title: 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