[dmd-internals] [D-Programming-Language/dmd] f8bcda: fix Issue 13117 - Executable size of hello world e...
GitHub via dmd-internals
dmd-internals at puremagic.com
Thu Jul 17 00:18:18 PDT 2014
Branch: refs/heads/master
Home: https://github.com/D-Programming-Language/dmd
Commit: f8bcda05a8193c4180815d067713cf4b6e7884bf
https://github.com/D-Programming-Language/dmd/commit/f8bcda05a8193c4180815d067713cf4b6e7884bf
Author: Martin Nowak <code at dawg.eu>
Date: 2014-07-17 (Thu, 17 Jul 2014)
Changed paths:
M src/backend/elfobj.c
Log Message:
-----------
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
Commit: 528e49d77fee84581fa9f055ef1ebd5c765ee469
https://github.com/D-Programming-Language/dmd/commit/528e49d77fee84581fa9f055ef1ebd5c765ee469
Author: Martin Nowak <code at dawg.eu>
Date: 2014-07-17 (Thu, 17 Jul 2014)
Changed paths:
A test/runnable/test13117.d
A test/runnable/test13117b.d
Log Message:
-----------
regression tests for binary size
- test will fail when binaries increase by about 10%
above the current size
Commit: 5f3a83a890a3e3f106e89d5423993eae9945dc3b
https://github.com/D-Programming-Language/dmd/commit/5f3a83a890a3e3f106e89d5423993eae9945dc3b
Author: Walter Bright <walter at walterbright.com>
Date: 2014-07-17 (Thu, 17 Jul 2014)
Changed paths:
M src/backend/elfobj.c
A test/runnable/test13117.d
A test/runnable/test13117b.d
Log Message:
-----------
Merge pull request #3778 from MartinNowak/fix13117
fix Issue 13117 - Executable size of hello world explodes from 472K to 2.7M
Compare: https://github.com/D-Programming-Language/dmd/compare/db51609c3c74...5f3a83a890a3
More information about the dmd-internals
mailing list