February 09, 2014 [dmd-internals] [D-Programming-Language/dmd] 1a99b8: fix Issue 11171 - text relocations in shared phobo... | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: 1a99b8b6fea24094d483251cf7c8f2d4206813aa https://github.com/D-Programming-Language/dmd/commit/1a99b8b6fea24094d483251cf7c8f2d4206813aa Author: Martin Nowak <code@dawg.eu> Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M src/backend/dt.c M src/backend/dt.h M src/backend/elfobj.c M src/backend/out.c Log Message: ----------- fix Issue 11171 - text relocations in shared phobos library - Read-only data with relocations cannot be added to CDATA, because text relocations are prohibited by many security checks (SELinux). Also text relocations effectively break sharing of read-only segments across multiple processes. Commit: 249844e1d3c17927d6022c07487b2880a6cad5fd https://github.com/D-Programming-Language/dmd/commit/249844e1d3c17927d6022c07487b2880a6cad5fd Author: Martin Nowak <code@dawg.eu> Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M src/backend/cdef.h M src/backend/elfobj.c M src/backend/out.c Log Message: ----------- use .data.rel.ro segment for constant data with relocations - The runtime linker will mark this as read only after relocations are processed. Commit: 70653611a580867c232eb451b17a0f73d72e0b62 https://github.com/D-Programming-Language/dmd/commit/70653611a580867c232eb451b17a0f73d72e0b62 Author: Walter Bright <walter@walterbright.com> Date: 2014-02-09 (Sun, 09 Feb 2014) Changed paths: M src/backend/cdef.h M src/backend/dt.c M src/backend/dt.h M src/backend/elfobj.c M src/backend/out.c Log Message: ----------- Merge pull request #3187 from MartinNowak/fix11171 [dll] fix Issue 11171 – Text relocations in Phobos shared library Compare: https://github.com/D-Programming-Language/dmd/compare/6503da60bf46...70653611a580 |
Copyright © 1999-2021 by the D Language Foundation