aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2007-10-11 10:37:30 +0000
committerNick Clifton <nickc@redhat.com>2007-10-11 10:37:30 +0000
commit5671778d0aa04aeb36de7709332bf0f2dc20bd25 (patch)
tree261dc11a4a4891bf322ec605da46c74febbaecee /gas
parentf210dcff90d54b8ae46967a3a4b07757cacd959f (diff)
downloadfsf-binutils-gdb-5671778d0aa04aeb36de7709332bf0f2dc20bd25.zip
fsf-binutils-gdb-5671778d0aa04aeb36de7709332bf0f2dc20bd25.tar.gz
fsf-binutils-gdb-5671778d0aa04aeb36de7709332bf0f2dc20bd25.tar.bz2
* doc/as.texinfo (Type): Fix typo: STT_FUNC not STT_FUNCTION.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/doc/as.texinfo38
2 files changed, 30 insertions, 12 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 5d45b13..500beb2 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2007-10-11 Nick Clifton <nickc@redhat.com>
+
+ * doc/as.texinfo (Type): Fix typo: STT_FUNC not STT_FUNCTION.
+
2007-10-08 Maciej W. Rozycki <macro@linux-mips.org>
* config/tc-mips.c (AT): Rename to...
diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo
index 4e07ef0..ed12baf 100644
--- a/gas/doc/as.texinfo
+++ b/gas/doc/as.texinfo
@@ -6191,21 +6191,35 @@ assemblers.
The syntaxes supported are:
@smallexample
- .type <name> STT_FUNCTION
- .type <name> STT_OBJECT
+ .type <name> STT_<TYPE_IN_UPPER_CASE>
+ .type <name>,#<type>
+ .type <name>,@@<type>
+ .type <name>,%>type>
+ .type <name>,"<type>"
+@end smallexample
+
+The types supported are:
- .type <name>,#function
- .type <name>,#object
+@table @gcctabopt
+@item STT_FUNC
+@itemx function
+Mark the symbol as being a function name.
- .type <name>,@@function
- .type <name>,@@object
+@item STT_OBJECT
+@itemx object
+Mark the symbol as being a data object.
+
+@item STT_TLS
+@itemx tls_object
+Mark the symbol as being a thead-local data object.
+
+@item STT_COMMON
+@itemx common
+Mark the symbol as being a common data object.
+@end table
+
+Note: Some targets support extra types in addition to those listed above.
- .type <name>,%function
- .type <name>,%object
-
- .type <name>,"function"
- .type <name>,"object"
-@end smallexample
@end ifset
@end ifset