Make __start/__stop symbols dynamic and add testcase
authorAlan Modra <amodra@gmail.com>
Mon, 29 Jan 2018 11:15:09 +0000 (21:45 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 29 Jan 2018 23:39:07 +0000 (10:09 +1030)
commit36b8fda5d614cb5aaf701a92befa9919bd0b195a
treecee28f1d88d72357f4a39c2999ec99467b0f763a
parent185cdb8cc7c0102140d41fb6272a5ee99994d72d
Make __start/__stop symbols dynamic and add testcase

bfd/
* elflink.c (bfd_elf_define_start_stop): Make __start and __stop
symbols dynamic.
ld/
* testsuite/ld-elf/pr21964-3a.c: New file.
* testsuite/ld-elf/pr21964-3c.c: New file.
* testsuite/ld-elf/shared.exp: Run new __start/__stop testcase.
bfd/ChangeLog
bfd/elflink.c
ld/ChangeLog
ld/testsuite/ld-elf/pr21964-3a.c [new file with mode: 0644]
ld/testsuite/ld-elf/pr21964-3c.c [new file with mode: 0644]
ld/testsuite/ld-elf/shared.exp