Define __start/__stop symbols when there is only a dynamic def
authorAlan Modra <amodra@gmail.com>
Tue, 23 Jan 2018 00:20:02 +0000 (10:50 +1030)
committerAlan Modra <amodra@gmail.com>
Fri, 26 Jan 2018 03:22:07 +0000 (13:52 +1030)
commit32253bb7963ac7caa166ec41e336372f2ffc03d4
treefd2623c3a02a407f5123e0d62ab1c02d7f1afcf3
parentba21f5646454c418e75eb06f6bf1a00a173641ca
Define __start/__stop symbols when there is only a dynamic def

This patch fixes a case where a user had a C-representable named
section in both the executable and shared libraries, and of course
wanted the size of the local section in the executable, not the
dynamic section.  It does mean that __start and __stop symbols don't
behave exactly like PROVIDEd symbols, but I think that's a reasonable
difference particularly since this is the way they used to behave.

* elflink.c (bfd_elf_define_start_stop): Override symbols when
they are defined dynamically.
bfd/ChangeLog
bfd/elflink.c
This page took 0.028701 seconds and 4 git commands to generate.