mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-23 18:14:13 +08:00
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.
This commit is contained in:
parent
d983c8c550
commit
5c9352f317
@ -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.
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user