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:
parent
cf28cfef60
commit
fdde2fb60c
|
@ -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>
|
||||
|
||||
* 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;
|
||||
|
||||
/* Ensure the alignment of the first section is the largest alignment,
|
||||
so that the tls segment starts aligned. */
|
||||
/* Ensure the alignment of the first section (usually .tdata) is the largest
|
||||
alignment, so that the tls segment starts aligned. */
|
||||
if (tls != NULL)
|
||||
tls->alignment_power = align;
|
||||
|
||||
|
|
Loading…
Reference in New Issue