November 17, 2013 [dmd-internals] [D-Programming-Language/dmd] 905d00: fix Issue 11406 - ld.gold breaks switch table jump... | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: 905d00af03efc9f8bbdb3d25e9776b0d0061783e https://github.com/D-Programming-Language/dmd/commit/905d00af03efc9f8bbdb3d25e9776b0d0061783e Author: Martin Nowak <code@dawg.eu> Date: 2013-11-16 (Sat, 16 Nov 2013) Changed paths: M src/backend/elfobj.c Log Message: ----------- fix Issue 11406 - ld.gold breaks switch table jumps - This is due to the fact that gold doesn't add target addends to relocations (only uses the 64-bit rela addend). Commit: c398e50b209a52d31e3fe58d2e45122619515826 https://github.com/D-Programming-Language/dmd/commit/c398e50b209a52d31e3fe58d2e45122619515826 Author: Martin Nowak <code@dawg.eu> Date: 2013-11-16 (Sat, 16 Nov 2013) Changed paths: M src/backend/elfobj.c Log Message: ----------- refactor if-else branches - remove some early returns and reuse common code Commit: 823369ea4f242aff7f95e46485fdb316fb48787f https://github.com/D-Programming-Language/dmd/commit/823369ea4f242aff7f95e46485fdb316fb48787f Author: Martin Nowak <code@dawg.eu> Date: 2013-11-16 (Sat, 16 Nov 2013) Changed paths: M src/backend/elfobj.c Log Message: ----------- comment difference between 64 and 32 bit path Commit: 7be18e3deea3b7fa78b5d635b079ca936288dd26 https://github.com/D-Programming-Language/dmd/commit/7be18e3deea3b7fa78b5d635b079ca936288dd26 Author: Martin Nowak <code@dawg.eu> Date: 2013-11-16 (Sat, 16 Nov 2013) Changed paths: M src/backend/elfobj.c Log Message: ----------- fix other occurences of the same bug Commit: bf4a04c48997bf5a1838e78e418d5c1d7db67bae https://github.com/D-Programming-Language/dmd/commit/bf4a04c48997bf5a1838e78e418d5c1d7db67bae Author: Martin Nowak <code@dawg.eu> Date: 2013-11-16 (Sat, 16 Nov 2013) Changed paths: M src/backend/elfobj.c M src/backend/obj.h Log Message: ----------- refactor ElfObj relocations - Add writeaddrval with writes or appends an address value to a target segment at given offset. - Add writerel which combines writing an address value and adding a relocation record. - This allows to encapsulate the Rel/Rela difference between Elf32 and Elf64. Commit: 0cba87c6330cd7853139f51448c0f98372fb76d7 https://github.com/D-Programming-Language/dmd/commit/0cba87c6330cd7853139f51448c0f98372fb76d7 Author: Martin Nowak <code@dawg.eu> Date: 2013-11-16 (Sat, 16 Nov 2013) Changed paths: M src/backend/elfobj.c Log Message: ----------- refactor obj_rtinit Commit: 4fb76d35f9c763d1341338c3475fa5833a1ada16 https://github.com/D-Programming-Language/dmd/commit/4fb76d35f9c763d1341338c3475fa5833a1ada16 Author: Martin Nowak <code@dawg.eu> Date: 2013-11-16 (Sat, 16 Nov 2013) Changed paths: M src/backend/elfobj.c Log Message: ----------- refactor moduleinfo Commit: 2b0bc1954c5f8acbe5789b42c0b86fa7745b897e https://github.com/D-Programming-Language/dmd/commit/2b0bc1954c5f8acbe5789b42c0b86fa7745b897e Author: Martin Nowak <code@dawg.eu> Date: 2013-11-16 (Sat, 16 Nov 2013) Changed paths: M src/backend/elfobj.c Log Message: ----------- refactor staticctor/staticdtor Commit: bb9a3d3190cb517399d172c687cce36b062b5cfc https://github.com/D-Programming-Language/dmd/commit/bb9a3d3190cb517399d172c687cce36b062b5cfc Author: Martin Nowak <code@dawg.eu> Date: 2013-11-16 (Sat, 16 Nov 2013) Changed paths: M src/backend/elfobj.c Log Message: ----------- refactor ehtables Commit: eb29e391f94f0f2566787c3484ad79ccc3f2e681 https://github.com/D-Programming-Language/dmd/commit/eb29e391f94f0f2566787c3484ad79ccc3f2e681 Author: Martin Nowak <code@dawg.eu> Date: 2013-11-16 (Sat, 16 Nov 2013) Changed paths: M src/backend/elfobj.c Log Message: ----------- refactor reftodataseg Commit: 4a17c383baabfeacd8a74e6f53d79797045b347f https://github.com/D-Programming-Language/dmd/commit/4a17c383baabfeacd8a74e6f53d79797045b347f Author: Martin Nowak <code@dawg.eu> Date: 2013-11-16 (Sat, 16 Nov 2013) Changed paths: M src/backend/elfobj.c Log Message: ----------- refactor reftocodeseg Commit: 2a589a19cbd7e95880653043ebb556bf214b8340 https://github.com/D-Programming-Language/dmd/commit/2a589a19cbd7e95880653043ebb556bf214b8340 Author: Martin Nowak <code@dawg.eu> Date: 2013-11-16 (Sat, 16 Nov 2013) Changed paths: M src/backend/elfobj.c Log Message: ----------- refactor reftoident Commit: d1319c8a610ddd802b36e1f4e07ea7b73d4abdba https://github.com/D-Programming-Language/dmd/commit/d1319c8a610ddd802b36e1f4e07ea7b73d4abdba Author: Martin Nowak <code@dawg.eu> Date: 2013-11-16 (Sat, 16 Nov 2013) Changed paths: M src/backend/cod3.c Log Message: ----------- refactor cod3_buildmodulector Commit: 854896cab40632cd3d2cd40d6461c62c36e6a79a https://github.com/D-Programming-Language/dmd/commit/854896cab40632cd3d2cd40d6461c62c36e6a79a Author: Walter Bright <walter@walterbright.com> Date: 2013-11-17 (Sun, 17 Nov 2013) Changed paths: M src/backend/cod3.c M src/backend/elfobj.c M src/backend/obj.h Log Message: ----------- Merge pull request #2768 from dawgfoto/fix11406 fix Issue 11406 - ld.gold breaks switch table jumps Compare: https://github.com/D-Programming-Language/dmd/compare/4f4901d782e8...854896cab406 |
Copyright © 1999-2021 by the D Language Foundation