mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 15:18:37 +08:00
Mention .tdata in comment in _bfd_elf_tls_setup()
This helps to find code areas which deal with the .tdata section. bfd/ * elflink.c (_bfd_elf_tls_setup): Mention .tdata in comment.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2020-03-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||||
|
|
||||||
|
* elflink.c (_bfd_elf_tls_setup): Mention .tdata in comment.
|
||||||
|
|
||||||
2020-03-23 Alan Modra <amodra@gmail.com>
|
2020-03-23 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
* ecoff.c (_bfd_ecoff_slurp_armap): Sanity check parsed_size and
|
* ecoff.c (_bfd_ecoff_slurp_armap): Sanity check parsed_size and
|
||||||
|
@ -3323,8 +3323,8 @@ _bfd_elf_tls_setup (bfd *obfd, struct bfd_link_info *info)
|
|||||||
|
|
||||||
elf_hash_table (info)->tls_sec = tls;
|
elf_hash_table (info)->tls_sec = tls;
|
||||||
|
|
||||||
/* Ensure the alignment of the first section is the largest alignment,
|
/* Ensure the alignment of the first section (usually .tdata) is the largest
|
||||||
so that the tls segment starts aligned. */
|
alignment, so that the tls segment starts aligned. */
|
||||||
if (tls != NULL)
|
if (tls != NULL)
|
||||||
tls->alignment_power = align;
|
tls->alignment_power = align;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user