* ld.texinfo (Output Section Fill): Fix amateur texinfo.
(FILL): Likewise.
This commit is contained in:
parent
1c5e644702
commit
9673c93c26
|
@ -1,3 +1,8 @@
|
||||||
|
2002-02-18 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
|
* ld.texinfo (Output Section Fill): Fix amateur texinfo.
|
||||||
|
(FILL): Likewise.
|
||||||
|
|
||||||
2002-02-17 Hans-Peter Nilsson <hp@bitrange.com>
|
2002-02-17 Hans-Peter Nilsson <hp@bitrange.com>
|
||||||
|
|
||||||
* emultempl/mmo.em (mmo_after_open): Don't call
|
* emultempl/mmo.em (mmo_after_open): Don't call
|
||||||
|
|
|
@ -2943,10 +2943,10 @@ FILL(0x90909090)
|
||||||
@end smallexample
|
@end smallexample
|
||||||
|
|
||||||
The @code{FILL} command is similar to the @samp{=@var{fillexp}} output
|
The @code{FILL} command is similar to the @samp{=@var{fillexp}} output
|
||||||
section attribute (@pxref{Output Section Fill}), but it only affects the
|
section attribute, but it only affects the
|
||||||
part of the section following the @code{FILL} command, rather than the
|
part of the section following the @code{FILL} command, rather than the
|
||||||
entire section. If both are used, the @code{FILL} command takes
|
entire section. If both are used, the @code{FILL} command takes
|
||||||
precedence. See (@pxref{Output Section Fill}) for details on the fill
|
precedence. @xref{Output Section Fill}, for details on the fill
|
||||||
expression.
|
expression.
|
||||||
|
|
||||||
@node Output Section Keywords
|
@node Output Section Keywords
|
||||||
|
@ -3228,15 +3228,15 @@ You can set the fill pattern for an entire section by using
|
||||||
within the output section (for example, gaps left due to the required
|
within the output section (for example, gaps left due to the required
|
||||||
alignment of input sections) will be filled with the value, repeated as
|
alignment of input sections) will be filled with the value, repeated as
|
||||||
necessary. If the fill expression is a simple hex number, ie. a string
|
necessary. If the fill expression is a simple hex number, ie. a string
|
||||||
of hex digit starting with "0x" and without a trailing "k" or "M", then
|
of hex digit starting with @samp{0x} and without a trailing @samp{k} or @samp{M}, then
|
||||||
an arbitrarily long sequence of hex digits can be used to specify the
|
an arbitrarily long sequence of hex digits can be used to specify the
|
||||||
fill pattern; Leading zeros become part of the pattern too. For all
|
fill pattern; Leading zeros become part of the pattern too. For all
|
||||||
other cases, including extra parentheses or a unary '+', the fill
|
other cases, including extra parentheses or a unary @code{+}, the fill
|
||||||
pattern is the four least significant bytes of the value of the
|
pattern is the four least significant bytes of the value of the
|
||||||
expression. In all cases, the number is big-endian.
|
expression. In all cases, the number is big-endian.
|
||||||
|
|
||||||
You can also change the fill value with a @code{FILL} command in the
|
You can also change the fill value with a @code{FILL} command in the
|
||||||
output section commands; see @ref{Output Section Data}.
|
output section commands; (@pxref{Output Section Data}).
|
||||||
|
|
||||||
Here is a simple example:
|
Here is a simple example:
|
||||||
@smallexample
|
@smallexample
|
||||||
|
|
Loading…
Reference in New Issue