aboutsummaryrefslogtreecommitdiff
path: root/bfd/elflink.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-03-23 14:01:05 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-03-23 17:04:28 +0100
commitfdde2fb60cc2d0c60d9d3f085a7b6c648376991e (patch)
tree4f9895fdce8c82d7a43d1243f63c6cc52856e68a /bfd/elflink.c
parentcf28cfef6006c41b74af126bc6ef26590d7bd1b9 (diff)
downloadbinutils-fdde2fb60cc2d0c60d9d3f085a7b6c648376991e.zip
binutils-fdde2fb60cc2d0c60d9d3f085a7b6c648376991e.tar.gz
binutils-fdde2fb60cc2d0c60d9d3f085a7b6c648376991e.tar.bz2
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.
Diffstat (limited to 'bfd/elflink.c')
-rw-r--r--bfd/elflink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elflink.c b/bfd/elflink.c
index 589550e..7c08494 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;