[dmd-internals] [D-Programming-Language/dmd] 310945: use const data segments for Mach-O
GitHub via dmd-internals
dmd-internals at puremagic.com
Thu Apr 24 15:16:21 PDT 2014
Branch: refs/heads/master
Home: https://github.com/D-Programming-Language/dmd
Commit: 31094560f786ea29b96e095efbbbbdc955d39407
https://github.com/D-Programming-Language/dmd/commit/31094560f786ea29b96e095efbbbbdc955d39407
Author: Martin Nowak <code at dawg.eu>
Date: 2014-04-22 (Tue, 22 Apr 2014)
Changed paths:
M src/backend/machobj.c
M src/backend/out.c
Log Message:
-----------
use const data segments for Mach-O
- add __DATA,__const section as CDATAREL for
const data with relocations
Commit: 46e3d2e01702d7d86f5b4c9712c5f71d0375089d
https://github.com/D-Programming-Language/dmd/commit/46e3d2e01702d7d86f5b4c9712c5f71d0375089d
Author: Martin Nowak <code at dawg.eu>
Date: 2014-04-22 (Tue, 22 Apr 2014)
Changed paths:
M src/backend/elfobj.c
M src/backend/machobj.c
Log Message:
-----------
use CDATA for strings on x86_64
- not sure why it was disabled
- also remove similar old code in elfobj.c
Commit: a48547e6060c75de8648f384f7549f8e425a1e25
https://github.com/D-Programming-Language/dmd/commit/a48547e6060c75de8648f384f7549f8e425a1e25
Author: Martin Nowak <code at dawg.eu>
Date: 2014-04-23 (Wed, 23 Apr 2014)
Changed paths:
M src/backend/machobj.c
Log Message:
-----------
fix for code->cdata relocation
- The codegen assumes an indirect access to data,
but cdata was treated as code segment so a direct
relocation was emitted.
Commit: 0f9ff6105928d0422f852abf6c3ab018f7270867
https://github.com/D-Programming-Language/dmd/commit/0f9ff6105928d0422f852abf6c3ab018f7270867
Author: Walter Bright <walter at walterbright.com>
Date: 2014-04-24 (Thu, 24 Apr 2014)
Changed paths:
M src/backend/elfobj.c
M src/backend/machobj.c
M src/backend/out.c
Log Message:
-----------
Merge pull request #3486 from MartinNowak/MachO_CDATA
Use constant data sections for MachO
Compare: https://github.com/D-Programming-Language/dmd/compare/6de3bd56a622...0f9ff6105928
More information about the dmd-internals
mailing list