diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 646868762cb..b5e0f2822e0 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2020-03-23 Sebastian Huber + + * elflink.c (_bfd_elf_tls_setup): Mention .tdata in comment. + 2020-03-23 Alan Modra * ecoff.c (_bfd_ecoff_slurp_armap): Sanity check parsed_size and diff --git a/bfd/elflink.c b/bfd/elflink.c index 589550e11d2..7c0849423a3 100644 --- a/bfd/elflink.c +++ b/bfd/elflink.c @@ -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;