[dmd-internals] [D-Programming-Language/dmd] cadc0f: fix Issue 12092 - Wrong TLS access in PIC code (X8...
GitHub via dmd-internals
dmd-internals at puremagic.com
Tue Dec 30 21:07:57 PST 2014
Branch: refs/heads/master
Home: https://github.com/D-Programming-Language/dmd
Commit: cadc0f74917be0fa0c5101afc64e9d6056b00c85
https://github.com/D-Programming-Language/dmd/commit/cadc0f74917be0fa0c5101afc64e9d6056b00c85
Author: Martin Nowak <code at dawg.eu>
Date: 2014-12-30 (Tue, 30 Dec 2014)
Changed paths:
M src/backend/el.c
M src/backend/elfobj.c
Log Message:
-----------
fix Issue 12092 - Wrong TLS access in PIC code (X86_32)
- Use RI_TYPE_TLS_GD (general dynamic) to access global
TLS symbols in PIC code.
Commit: b665578bb8baef235e0bc7f702212aa370ec9590
https://github.com/D-Programming-Language/dmd/commit/b665578bb8baef235e0bc7f702212aa370ec9590
Author: Martin Nowak <code at dawg.eu>
Date: 2014-12-30 (Tue, 30 Dec 2014)
Changed paths:
M src/backend/cod2.c
M src/backend/el.c
Log Message:
-----------
code sequence for __tls_get_addr calls is incorrect
- It has to use SIB addressing for the LEA instruction
to make room for linker optimizations.
Commit: b4ca13a0019b8eeb89105c99d80fa7b21665bc84
https://github.com/D-Programming-Language/dmd/commit/b4ca13a0019b8eeb89105c99d80fa7b21665bc84
Author: Martin Nowak <code at dawg.eu>
Date: 2014-12-30 (Tue, 30 Dec 2014)
Changed paths:
M src/backend/cod1.c
Log Message:
-----------
NOP after the __tls_get_addr call isn't needed
Commit: 55447875cfa08c3bbb7d4139dceff70bb8082c8a
https://github.com/D-Programming-Language/dmd/commit/55447875cfa08c3bbb7d4139dceff70bb8082c8a
Author: Walter Bright <walter at walterbright.com>
Date: 2014-12-30 (Tue, 30 Dec 2014)
Changed paths:
M src/backend/cod1.c
M src/backend/cod2.c
M src/backend/el.c
M src/backend/elfobj.c
Log Message:
-----------
Merge pull request #4223 from MartinNowak/fix12092
fix Issue 12092 - Wrong TLS access in PIC code (X86_32)
Compare: https://github.com/D-Programming-Language/dmd/compare/59edf814c623...55447875cfa0
More information about the dmd-internals
mailing list