From 5c9352f317d63cab0ebe512a8461e5256b6a913b Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Sat, 14 Feb 2015 18:32:48 +1030 Subject: [PATCH] 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. --- gas/ChangeLog | 5 +++++ gas/doc/as.texinfo | 4 ++-- gas/doc/c-i386.texi | 42 +++++++++++++++++++++--------------------- 3 files changed, 28 insertions(+), 23 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 8a01dae918..fe711bfd78 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2015-02-19 Alan Modra + + * 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 * config/tc-aarch64.c (aarch64_cpus): Fix code formatting. diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo index 9668039847..36c2207c3e 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 298b3a2b59..d9dfbdd652 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 -- 2.34.1