diff options
author | Alan Modra <amodra@gmail.com> | 2015-02-14 18:32:48 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2015-02-19 14:14:51 +1030 |
commit | 5c9352f317d63cab0ebe512a8461e5256b6a913b (patch) | |
tree | dd0ffb672066d7983242384b0a227ac7c67403cd /gas | |
parent | d983c8c5503d680c6d4955ceb610a9beebc64460 (diff) | |
download | fsf-binutils-gdb-5c9352f317d63cab0ebe512a8461e5256b6a913b.zip fsf-binutils-gdb-5c9352f317d63cab0ebe512a8461e5256b6a913b.tar.gz fsf-binutils-gdb-5c9352f317d63cab0ebe512a8461e5256b6a913b.tar.bz2 |
gas doc warning fixes
* doc/as.texinfo (Local Symbol Names): Don't use ':' in pxref.
* doc/c-i386.texi: Reorder i386-Bugs after i386-Arch.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/doc/as.texinfo | 4 | ||||
-rw-r--r-- | gas/doc/c-i386.texi | 42 |
3 files changed, 28 insertions, 23 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 8a01dae..fe711bf 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2015-02-19 Alan Modra <amodra@gmail.com> + + * doc/as.texinfo (Local Symbol Names): Don't use ':' in pxref. + * doc/c-i386.texi: Reorder i386-Bugs after i386-Arch. + 2015-02-11 Matthew Wahab <matthew.wahab@arm.com> * config/tc-aarch64.c (aarch64_cpus): Fix code formatting. diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo index 9668039..36c2207 100644 --- a/gas/doc/as.texinfo +++ b/gas/doc/as.texinfo @@ -3660,8 +3660,8 @@ On the HPPA local symbols begin with @samp{L$}. Local symbols are defined and used within the assembler, but they are normally not saved in object files. Thus, they are not visible when debugging. -You may use the @samp{-L} option (@pxref{L, ,Include Local Symbols: -@option{-L}}) to retain the local symbols in the object files. +You may use the @samp{-L} option (@pxref{L, ,Include Local Symbols}) +to retain the local symbols in the object files. @subheading Local Labels diff --git a/gas/doc/c-i386.texi b/gas/doc/c-i386.texi index 298b3a2..d9dfbdd 100644 --- a/gas/doc/c-i386.texi +++ b/gas/doc/c-i386.texi @@ -1051,27 +1051,6 @@ opcode bytes @samp{6a 04} (i.e., without the operand size prefix), which is correct since the processor default operand size is assumed to be 16 bits in a 16-bit code section. -@node i386-Bugs -@section AT&T Syntax bugs - -The UnixWare assembler, and probably other AT&T derived ix86 Unix -assemblers, generate floating point instructions with reversed source -and destination registers in certain cases. Unfortunately, gcc and -possibly many other programs use this reversed syntax, so we're stuck -with it. - -For example - -@smallexample - fsub %st,%st(3) -@end smallexample -@noindent -results in @samp{%st(3)} being updated to @samp{%st - %st(3)} rather -than the expected @samp{%st(3) - %st}. This happens with all the -non-commutative arithmetic floating point operations with two register -operands where the source register is @samp{%st} and the destination -register is @samp{%st(i)}. - @node i386-Arch @section Specifying CPU Architecture @@ -1143,6 +1122,27 @@ For example .arch i8086,nojumps @end smallexample +@node i386-Bugs +@section AT&T Syntax bugs + +The UnixWare assembler, and probably other AT&T derived ix86 Unix +assemblers, generate floating point instructions with reversed source +and destination registers in certain cases. Unfortunately, gcc and +possibly many other programs use this reversed syntax, so we're stuck +with it. + +For example + +@smallexample + fsub %st,%st(3) +@end smallexample +@noindent +results in @samp{%st(3)} being updated to @samp{%st - %st(3)} rather +than the expected @samp{%st(3) - %st}. This happens with all the +non-commutative arithmetic floating point operations with two register +operands where the source register is @samp{%st} and the destination +register is @samp{%st(i)}. + @node i386-Notes @section Notes |