diff options
author | Mark Mitchell <mark@codesourcery.com> | 2006-04-29 00:33:35 +0000 |
---|---|---|
committer | Mark Mitchell <mark@codesourcery.com> | 2006-04-29 00:33:35 +0000 |
commit | 6a0648eff3df2e805536b2edc3e9d61d0be3e89c (patch) | |
tree | 9a4b665b1473d76d461c1503928230f863bb35ab | |
parent | 63c5233d0b8fb32441635f0312b8e661eb0ea0d1 (diff) | |
download | binutils-redhat-binutils-csl-morpho-4_1-4.tar.gz |
* doc/as.texinfo: Mention that some .type syntaxes are notbinutils-csl-morpho-4_1-4
supported on all architectures.
-rw-r--r-- | ChangeLog.csl | 5 | ||||
-rw-r--r-- | gas/doc/as.texinfo | 10 |
2 files changed, 14 insertions, 1 deletions
diff --git a/ChangeLog.csl b/ChangeLog.csl index ad80d950f0..77390c526a 100644 --- a/ChangeLog.csl +++ b/ChangeLog.csl @@ -1,3 +1,8 @@ +2006-04-28 Mark Mitchell <mark@codesourcery.com> + + * doc/as.texinfo: Mention that some .type syntaxes are not + supported on all architectures. + 2006-04-27 Richard Sandiford <richard@codesourcery.com> include/opcodes/ diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo index 4fe0ef4ca8..b71b0d1ef0 100644 --- a/gas/doc/as.texinfo +++ b/gas/doc/as.texinfo @@ -5964,7 +5964,15 @@ For ELF targets, the @code{.type} directive is used like this: This sets the type of symbol @var{name} to be either a function symbol or an object symbol. There are five different syntaxes supported for the @var{type description} field, in order to provide -compatibility with various other assemblers. The syntaxes supported are: +compatibility with various other assemblers. + +Because some of the characters used in these syntaxes (such as @samp{@@} and +@samp{#}) are comment characters for some architectures, some of the syntaxes +below do not work on all architectures. The first variant will be accepted by +the assembler on all architectures, so that syntax should be used if you +require maximum portability. + +The syntaxes supported are: @smallexample .type <name>,#function |