Ticket #10688: 0001-Fixed-errors-in-documentation-that-caused-configure-.patch

File 0001-Fixed-errors-in-documentation-that-caused-configure-.patch, 4.8 KB (added by arvindsraj, 6 years ago)
  • binutils/gas/doc/c-arc.texi

    From 67a8c53aaa32b8fab8a944f50358c32509ee6841 Mon Sep 17 00:00:00 2001
    From: Arvind S Raj <sraj.arvind@gmail.com>
    Date: Wed, 19 Mar 2014 14:57:06 +0530
    Subject: [PATCH] Fixed errors in documentation that caused configure script to
     fail when bootstrapping for ARM build
    texinfo 5 has changed syntax for certain commands which led to failure when
    building binutils because the documentation could not be built.
    Upstream report: https://sourceware.org/bugzilla/show_bug.cgi?id=15212.
     binutils/gas/doc/c-arc.texi    |  2 +-
     binutils/gas/doc/c-arm.texi    |  5 ++++-
     binutils/gas/doc/c-mips.texi   |  2 +-
     binutils/gas/doc/c-score.texi  |  8 ++++----
     binutils/gas/doc/c-tic54x.texi | 10 +++++-----
     5 files changed, 15 insertions(+), 12 deletions(-)
    diff --git a/binutils/gas/doc/c-arc.texi b/binutils/gas/doc/c-arc.texi
    index ea0fa4e..cbaf392 100644
    a b The extension instructions are not macros. The assembler creates  
    220220encodings for use of these instructions according to the specification
    221221by the user.  The parameters are:
    223 @table @bullet
     223@table @code
    224224@item @var{name}
    225225Name of the extension instruction
  • binutils/gas/doc/c-arm.texi

    diff --git a/binutils/gas/doc/c-arm.texi b/binutils/gas/doc/c-arm.texi
    index a46e08f..fac74b3 100644
    a b ARM and THUMB instructions had their own, separate syntaxes. The new,  
    390390@code{unified} syntax, which can be selected via the @code{.syntax}
    391391directive, and has the following main features:
    393 @table @bullet
     393@table @code
    395395Immediate operands do not require a @code{#} prefix.
    so @samp{: @var{align}} is used instead. For example:  
    469469@node ARM Floating Point
    470470@section Floating Point
     472* ARM-Relocations::
     473@end menu
    472475@cindex floating point, ARM (@sc{ieee})
    473476@cindex ARM floating point (@sc{ieee})
  • binutils/gas/doc/c-mips.texi

    diff --git a/binutils/gas/doc/c-mips.texi b/binutils/gas/doc/c-mips.texi
    index 9ed0420..6054ab9 100644
    a b the @samp{mad} and @samp{madu} instruction, and to not schedule @samp{nop}  
    234234instructions around accesses to the @samp{HI} and @samp{LO} registers.
    235235@samp{-no-m4650} turns off this option.
    237 @itemx -m3900
     237@item -m3900
    238238@itemx -no-m3900
    239239@itemx -m4100
    240240@itemx -no-m4100
  • binutils/gas/doc/c-score.texi

    diff --git a/binutils/gas/doc/c-score.texi b/binutils/gas/doc/c-score.texi
    index 3af20a3..40959f5 100644
    a b implicitly with the @code{gp} register. The default value is 8.  
    3737@item -EB
    3838Assemble code for a big-endian cpu
    40 @itemx -EL
     40@item -EL
    4141Assemble code for a little-endian cpu
    4343@item -FIXDD
    Assemble code for no warning message for fix data dependency  
    4949@item -SCORE5
    5050Assemble code for target is SCORE5
    52 @itemx -SCORE5U
     52@item -SCORE5U
    5353Assemble code for target is SCORE5U
    55 @itemx -SCORE7
     55@item -SCORE7
    5656Assemble code for target is SCORE7, this is default setting
    58 @itemx -SCORE3
     58@item -SCORE3
    5959Assemble code for target is SCORE3
    6161@item -march=score7
  • binutils/gas/doc/c-tic54x.texi

    diff --git a/binutils/gas/doc/c-tic54x.texi b/binutils/gas/doc/c-tic54x.texi
    index d61ec3a..2c3b0f2 100644
    a b In this example, x is replaced with SYM2; SYM2 is replaced with SYM1, and SYM1  
    109109is replaced with x.  At this point, x has already been encountered
    110110and the substitution stops.
    112 @smallexample @code
    113113 .asg   "x",SYM1
    114114 .asg   "SYM1",SYM2
    115115 .asg   "SYM2",x
    Substitution may be forced in situations where replacement might be  
    126126ambiguous by placing colons on either side of the subsym.  The following
    129 @smallexample @code
    130130 .eval  "10",x
    131131LAB:X:  add     #x, a
    132132@end smallexample
    134134When assembled becomes:
    136 @smallexample @code
    137137LAB10  add     #10, a
    138138@end smallexample
    The @code{LDX} pseudo-op is provided for loading the extended addressing bits  
    309309of a label or address.  For example, if an address @code{_label} resides
    310310in extended program memory, the value of @code{_label} may be loaded as
    312 @smallexample @code
    313313 ldx     #_label,16,a    ; loads extended bits of _label
    314314 or      #_label,a       ; loads lower 16 bits of _label
    315315 bacc    a               ; full address is in accumulator A
    Assign @var{name} the string @var{string}. String replacement is  
    345345performed on @var{string} before assignment.
    347347@cindex @code{eval} directive, TIC54X
    348 @itemx .eval @var{string}, @var{name}
     348@item .eval @var{string}, @var{name}
    349349Evaluate the contents of string @var{string} and assign the result as a
    350350string to the subsym @var{name}.  String replacement is performed on
    351351@var{string} before assignment.