aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2020-09-01 07:10:56 -0700
committerH.J. Lu <hjl.tools@gmail.com>2020-09-01 07:47:00 -0700
commit4c8584be76a2b95cd4876ac8622cb0f2d0fc1ad4 (patch)
treecf2cfafb0a3138aa8e096448ca175fcd4b0c559f
parent8dbe96f07060bc41499557d2837afbfffa1aa7fc (diff)
downloadgdb-4c8584be76a2b95cd4876ac8622cb0f2d0fc1ad4.zip
gdb-4c8584be76a2b95cd4876ac8622cb0f2d0fc1ad4.tar.gz
gdb-4c8584be76a2b95cd4876ac8622cb0f2d0fc1ad4.tar.bz2
ELF: Document the .tls_common directive
Document the .tls_common directive added by commit b8871f357fdfa9c0c06d2d3e5600391d8c994f37 Author: H.J. Lu <hjl.tools@gmail.com> Date: Mon Feb 22 09:18:52 2016 -0800 Properly implement STT_COMMON * doc/as.texi: Document the .tls_common directive.
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/doc/as.texi13
2 files changed, 17 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index add6fd8..24320b3 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2020-09-01 H.J. Lu <hongjiu.lu@intel.com>
+
+ * doc/as.texi: Document the .tls_common directive.
+
2020-09-01 Alan Modra <amodra@gmail.com>
PR 26420
diff --git a/gas/doc/as.texi b/gas/doc/as.texi
index 4f86e21..112eaf8 100644
--- a/gas/doc/as.texi
+++ b/gas/doc/as.texi
@@ -4507,6 +4507,9 @@ Some machine configurations provide additional directives.
* Text:: @code{.text @var{subsection}}
* Title:: @code{.title "@var{heading}"}
+@ifset ELF
+* Tls_common:: @code{.tls_common @var{symbol}, @var{length}[, @var{alignment}]}
+@end ifset
@ifset COFF-ELF
* Type:: @code{.type <@var{int} | @var{name} , @var{type description}>}
@end ifset
@@ -7182,6 +7185,16 @@ source file name and pagenumber) when generating assembly listings.
This directive affects subsequent pages, as well as the current page if
it appears within ten lines of the top of a page.
+@ifset ELF
+@node Tls_common
+@section @code{.tls_common @var{symbol}, @var{length}[, @var{alignment}]}
+
+@cindex @code{tls_common} directive
+This directive behaves in the same way as the @code{.comm} directive
+(@pxref{Comm}) except that @var{symbol} has type of STT_TLS instead of
+STT_OBJECT.
+@end ifset
+
@ifset COFF-ELF
@node Type
@section @code{.type}