TLS orphan section placement
authorAlan Modra <amodra@gmail.com>
Fri, 24 Jan 2014 12:47:28 +0000 (23:17 +1030)
committerAlan Modra <amodra@gmail.com>
Fri, 24 Jan 2014 12:47:28 +0000 (23:17 +1030)
commitd9d94ac86ba0193c897d1fc80b551996ae959d50
treec6a86b35b9e02a56be246bb46cf2f7eba9b8cd1d
parent3ba720c788c2845c93a6dfe592f36163cbfa63fd
TLS orphan section placement

Ensures TLS orphans are placed adjacent to existing TLS sections,
and fixes places where the output_section_statement flags (which might
not be set) were tested when bfd_section flags were available.

* ldlang.c (lang_output_section_find_by_flags): Be careful to
test look->bfd_section->flags if available rather than
look->flags.  Separate SEC_THREAD_LOCAL handling from
SEC_READONLY loop, and rewrite.
ld/ChangeLog
ld/ldlang.c
This page took 0.024865 seconds and 4 git commands to generate.