diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2014-01-23 08:15:17 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2014-01-23 08:15:17 -0800 |
commit | d923cae027fb7f86d6b684c9084c5521fef0ed56 (patch) | |
tree | 704f7ac89f73761ecb7e3063627dcd9304eac356 /bfd/ChangeLog | |
parent | 83b645b833a4c137441b2ba1c03206371b28c9db (diff) | |
download | gdb-d923cae027fb7f86d6b684c9084c5521fef0ed56.zip gdb-d923cae027fb7f86d6b684c9084c5521fef0ed56.tar.gz gdb-d923cae027fb7f86d6b684c9084c5521fef0ed56.tar.bz2 |
Issue a linker error if TLS sections are not adjacent
Bad linker script may lead to TLS sections separated by non-TLS sections
in output. This patch changes linker assert to a linker error to
provide better linker diagnosis.
PR ld/16498
* elf.c (_bfd_elf_map_sections_to_segments): Issue a linker error
if TLS sections are not adjacent.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 3996dfc..78aa794 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2014-01-23 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/16498 + * elf.c (_bfd_elf_map_sections_to_segments): Issue a linker error + if TLS sections are not adjacent. + 2014-01-22 Alan Modra <amodra@gmail.com> * elflink.c (elf_link_add_object_symbols): Call minfo for --as-needed. |