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
|
220 | 220 | encodings for use of these instructions according to the specification |
221 | 221 | by the user. The parameters are: |
222 | 222 | |
223 | | @table @bullet |
| 223 | @table @code |
224 | 224 | @item @var{name} |
225 | 225 | Name of the extension instruction |
226 | 226 | |
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,
|
390 | 390 | @code{unified} syntax, which can be selected via the @code{.syntax} |
391 | 391 | directive, and has the following main features: |
392 | 392 | |
393 | | @table @bullet |
| 393 | @table @code |
394 | 394 | @item |
395 | 395 | Immediate operands do not require a @code{#} prefix. |
396 | 396 | |
… |
… |
so @samp{: @var{align}} is used instead. For example:
|
468 | 468 | |
469 | 469 | @node ARM Floating Point |
470 | 470 | @section Floating Point |
| 471 | @menu |
| 472 | * ARM-Relocations:: |
| 473 | @end menu |
471 | 474 | |
472 | 475 | @cindex floating point, ARM (@sc{ieee}) |
473 | 476 | @cindex ARM floating point (@sc{ieee}) |
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}
|
234 | 234 | instructions around accesses to the @samp{HI} and @samp{LO} registers. |
235 | 235 | @samp{-no-m4650} turns off this option. |
236 | 236 | |
237 | | @itemx -m3900 |
| 237 | @item -m3900 |
238 | 238 | @itemx -no-m3900 |
239 | 239 | @itemx -m4100 |
240 | 240 | @itemx -no-m4100 |
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.
|
37 | 37 | @item -EB |
38 | 38 | Assemble code for a big-endian cpu |
39 | 39 | |
40 | | @itemx -EL |
| 40 | @item -EL |
41 | 41 | Assemble code for a little-endian cpu |
42 | 42 | |
43 | 43 | @item -FIXDD |
… |
… |
Assemble code for no warning message for fix data dependency
|
49 | 49 | @item -SCORE5 |
50 | 50 | Assemble code for target is SCORE5 |
51 | 51 | |
52 | | @itemx -SCORE5U |
| 52 | @item -SCORE5U |
53 | 53 | Assemble code for target is SCORE5U |
54 | 54 | |
55 | | @itemx -SCORE7 |
| 55 | @item -SCORE7 |
56 | 56 | Assemble code for target is SCORE7, this is default setting |
57 | 57 | |
58 | | @itemx -SCORE3 |
| 58 | @item -SCORE3 |
59 | 59 | Assemble code for target is SCORE3 |
60 | 60 | |
61 | 61 | @item -march=score7 |
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
|
109 | 109 | is replaced with x. At this point, x has already been encountered |
110 | 110 | and the substitution stops. |
111 | 111 | |
112 | | @smallexample @code |
| 112 | @smallexample |
113 | 113 | .asg "x",SYM1 |
114 | 114 | .asg "SYM1",SYM2 |
115 | 115 | .asg "SYM2",x |
… |
… |
Substitution may be forced in situations where replacement might be
|
126 | 126 | ambiguous by placing colons on either side of the subsym. The following |
127 | 127 | code: |
128 | 128 | |
129 | | @smallexample @code |
| 129 | @smallexample |
130 | 130 | .eval "10",x |
131 | 131 | LAB:X: add #x, a |
132 | 132 | @end smallexample |
133 | 133 | |
134 | 134 | When assembled becomes: |
135 | 135 | |
136 | | @smallexample @code |
| 136 | @smallexample |
137 | 137 | LAB10 add #10, a |
138 | 138 | @end smallexample |
139 | 139 | |
… |
… |
The @code{LDX} pseudo-op is provided for loading the extended addressing bits
|
309 | 309 | of a label or address. For example, if an address @code{_label} resides |
310 | 310 | in extended program memory, the value of @code{_label} may be loaded as |
311 | 311 | follows: |
312 | | @smallexample @code |
| 312 | @smallexample |
313 | 313 | ldx #_label,16,a ; loads extended bits of _label |
314 | 314 | or #_label,a ; loads lower 16 bits of _label |
315 | 315 | bacc a ; full address is in accumulator A |
… |
… |
Assign @var{name} the string @var{string}. String replacement is
|
345 | 345 | performed on @var{string} before assignment. |
346 | 346 | |
347 | 347 | @cindex @code{eval} directive, TIC54X |
348 | | @itemx .eval @var{string}, @var{name} |
| 348 | @item .eval @var{string}, @var{name} |
349 | 349 | Evaluate the contents of string @var{string} and assign the result as a |
350 | 350 | string to the subsym @var{name}. String replacement is performed on |
351 | 351 | @var{string} before assignment. |