[dmd-internals] [D-Programming-Language/dmd] c011a5: fix Issue 14663 - shared library test - link_link...

GitHub via dmd-internals dmd-internals at puremagic.com
Wed Aug 19 05:00:39 PDT 2015


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: c011a559128e0c069140df4f7b3afd670403b081
      https://github.com/D-Programming-Language/dmd/commit/c011a559128e0c069140df4f7b3afd670403b081
  Author: Martin Nowak <code at dawg.eu>
  Date:   2015-07-26 (Sun, 26 Jul 2015)

  Changed paths:
    M src/backend/elfobj.c

  Log Message:
  -----------
  fix Issue 14663  - shared library test - link_linkdep - segfaults on FreeBSD 10

- the .ctors.d_dso_ctor and .dtors.d_dso_dtor sections
  are merged into .ctors/.dtors or .init_array/.fini_array
  depending on the linker script

- those sections need to be writeable b/c they can contain
  relocations (in PIC code)

- merging readonly with writeable sections cause the gcc49 linker
  on FBSD10 to collapse the readonly and writeable segments


  Commit: 8dad102881c0183256b9440d348a71b387c4b378
      https://github.com/D-Programming-Language/dmd/commit/8dad102881c0183256b9440d348a71b387c4b378
  Author: David Nadlinger <code at klickverbot.at>
  Date:   2015-08-19 (Wed, 19 Aug 2015)

  Changed paths:
    M src/backend/elfobj.c

  Log Message:
  -----------
  Merge pull request #4838 from MartinNowak/fix14776

fix Issue 14663  - shared library test - link_linkdep - segfaults on FreeBSD 10


Compare: https://github.com/D-Programming-Language/dmd/compare/6125deeb28d8...8dad102881c0


More information about the dmd-internals mailing list