diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-03-23 14:01:05 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-03-23 17:04:28 +0100 |
commit | fdde2fb60cc2d0c60d9d3f085a7b6c648376991e (patch) | |
tree | 4f9895fdce8c82d7a43d1243f63c6cc52856e68a | |
parent | cf28cfef6006c41b74af126bc6ef26590d7bd1b9 (diff) | |
download | gdb-fdde2fb60cc2d0c60d9d3f085a7b6c648376991e.zip gdb-fdde2fb60cc2d0c60d9d3f085a7b6c648376991e.tar.gz gdb-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.
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/elflink.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 6468687..b5e0f28 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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 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; |