diff options
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/doc/as.texinfo | 38 |
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 |