[PATCH] Mention .tdata in comment in _bfd_elf_tls_setup()
Sebastian Huber
sebastian.huber@embedded-brains.de
Mon Mar 23 13:04:00 GMT 2020
More information about the Binutils mailing list
Mon Mar 23 13:04:00 GMT 2020
- Previous message (by thread): ECOFF archive uninitialised read
- Next message (by thread): [PATCH] Mention .tdata in comment in _bfd_elf_tls_setup()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
This helps to find code areas which deal with the .tdata section.
bfd/
* elflink.c (_bfd_elf_tls_setup): Mention .tdata in comment.
---
bfd/elflink.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bfd/elflink.c b/bfd/elflink.c
index 589550e11d..7c0849423a 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;
--
2.16.4
- Previous message (by thread): ECOFF archive uninitialised read
- Next message (by thread): [PATCH] Mention .tdata in comment in _bfd_elf_tls_setup()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list