mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 04:00:07 +08:00
Smallbook format fixes.
This commit is contained in:
@ -1,7 +1,9 @@
|
||||
\input texinfo
|
||||
@setfilename gld.info
|
||||
@setfilename ld.info
|
||||
@c $Id$
|
||||
@syncodeindex ky cp
|
||||
@c @smallbook
|
||||
@c @cropmarks
|
||||
@ifinfo
|
||||
This file documents the GNU linker GLD.
|
||||
|
||||
@ -36,13 +38,13 @@ original English.
|
||||
@setchapternewpage odd
|
||||
@settitle GLD, the GNU linker
|
||||
@titlepage
|
||||
@title{gld}
|
||||
@subtitle{The GNU linker}
|
||||
@title gld
|
||||
@subtitle The GNU linker
|
||||
@sp 1
|
||||
@subtitle Second Edition---@code{gld} version 2.0
|
||||
@subtitle April 1991
|
||||
@author {Steve Chamberlain and Roland Pesch}
|
||||
@author {Cygnus Support}
|
||||
@author Steve Chamberlain and Roland Pesch
|
||||
@author Cygnus Support
|
||||
@page
|
||||
|
||||
@tex
|
||||
@ -173,7 +175,7 @@ and through environment variables.
|
||||
Here is a sketch of the options you can use on the @code{gld} command
|
||||
line:
|
||||
|
||||
@example
|
||||
@smallexample
|
||||
gld [-o @var{output} ] @var{objfiles}@dots{}
|
||||
[ -A@var{architecture} ] [ -b @var{input-format} ] [ -Bstatic ]
|
||||
[ -c @var{commandfile} ] [ -d | -dc | -dp ]
|
||||
@ -190,7 +192,7 @@ gld [-o @var{output} ] @var{objfiles}@dots{}
|
||||
[ -Ttext @var{textorg} ] [ -Tdata @var{dataorg} ] [ -Tbss @var{bssorg} ]
|
||||
[ -t ] [ -u @var{sym}] [-v] [ -X ] [ -x ]
|
||||
[ @{ @var{script} @} ]
|
||||
@end example
|
||||
@end smallexample
|
||||
|
||||
This plethora of command-line options may seem intimidating, but in
|
||||
actual practice few of them are used in any particular context.
|
||||
@ -853,12 +855,16 @@ _as_neg = -57005;
|
||||
@cindex integer suffixes
|
||||
Additionally the suffixes @code{K} and @code{M} may be used to scale a
|
||||
constant by
|
||||
@c TEXI2ROFF-KILL
|
||||
@ifinfo
|
||||
@c END TEXI2ROFF-KILL
|
||||
@code{1024} or @code{1024*1024}
|
||||
@c TEXI2ROFF-KILL
|
||||
@end ifinfo
|
||||
@tex
|
||||
${\rm 1024}$ or ${\rm 1024}^2$
|
||||
@end tex
|
||||
@ifinfo
|
||||
1024 or 1024*1024
|
||||
@end ifinfo
|
||||
@c END TEXI2ROFF-KILL
|
||||
respectively. For example, the following all refer to the same quantity:@refill
|
||||
|
||||
@example
|
||||
@ -926,7 +932,9 @@ the gaps (@pxref{Section Options}).
|
||||
@cindex precedence in expressions
|
||||
The linker recognizes the standard C set of arithmetic operators, with
|
||||
the standard bindings and precedence levels:
|
||||
@c TEXI2ROFF-KILL
|
||||
@ifinfo
|
||||
@c END TEXI2ROFF-KILL
|
||||
@example
|
||||
precedence associativity Operators Notes
|
||||
(highest)
|
||||
@ -946,6 +954,7 @@ precedence associativity Operators Notes
|
||||
Notes:
|
||||
(1) Prefix operators
|
||||
(2) @xref{Assignment}
|
||||
@c TEXI2ROFF-KILL
|
||||
@end ifinfo
|
||||
@tex
|
||||
\vskip \baselineskip
|
||||
@ -983,6 +992,7 @@ height2pt&\omit&&\omit&&\omit&\cr}
|
||||
@ddag@quad @xref{Assignment}.
|
||||
}
|
||||
@end iftex
|
||||
@c END TEXI2ROFF-KILL
|
||||
|
||||
@node Evaluation, Assignment, Operators, Expressions
|
||||
@subsection Evaluation
|
||||
@ -1169,14 +1179,14 @@ values for symbols. For example, this command-file fragment shows how
|
||||
to set a global symbol @code{begin} to the first location in the
|
||||
@code{.text} section---but if a symbol called @code{begin} already
|
||||
existed, its value is preserved:
|
||||
@example
|
||||
@smallexample
|
||||
SECTIONS@{ @dots{}
|
||||
.text: @{
|
||||
begin = DEFINED(begin) ? begin : . ;
|
||||
@dots{}
|
||||
@}
|
||||
@dots{} @}
|
||||
@end example
|
||||
@end smallexample
|
||||
|
||||
@item NEXT(@var{exp})
|
||||
@kindex NEXT(@var{exp})
|
||||
@ -1885,10 +1895,10 @@ it to the library. BFD supports the following combinations of
|
||||
architectures (row labels below) and object formats (column headings):
|
||||
@cindex formats available
|
||||
@cindex architectures available
|
||||
@c TEXI2ROFF-KILL
|
||||
@ifinfo
|
||||
@c END TEXI2ROFF-KILL
|
||||
@example
|
||||
OBJECT FORMATS
|
||||
\ ---------------------------------------
|
||||
|ieee
|
||||
| |oasys
|
||||
| | |a.out-generic-little
|
||||
@ -1898,7 +1908,7 @@ architectures (row labels below) and object formats (column headings):
|
||||
| | | | | | |coff-Intel-little
|
||||
| | | | | | | |coff-Intel-big
|
||||
| | | | | | | | |b.out.little
|
||||
ARCHITECTURES | | | | | | | | | |b.out.big
|
||||
| | | | | | | | | |b.out.big
|
||||
| | | | | | | | | |
|
||||
m68k|**|**| | | |**| | | |
|
||||
vax|**|**| | | |**| | | |
|
||||
@ -1918,15 +1928,15 @@ ARCHITECTURES | | | | | | | | | |b.out.big
|
||||
H8/300|**|**| | | |**| | | |
|
||||
|
||||
@end example
|
||||
@c TEXI2ROFF-KILL
|
||||
@end ifinfo
|
||||
@tex
|
||||
\def\sqbull{\vrule height12pt width 10pt depth 4pt}
|
||||
\vskip\baselineskip
|
||||
\vbox{\offinterlineskip
|
||||
\halign
|
||||
{\strut\hfil #\ &\vrule#&\quad #\quad &\vrule#&\quad #\quad
|
||||
&\vrule#&\quad #\quad &\vrule#&\quad #\quad &\vrule#&\quad #\quad &\vrule#&\quad #\quad &\vrule#&\quad #\quad &\vrule#&\quad #\quad &\vrule#&\quad #\quad &\vrule#&\quad #\quad &\vrule#\cr
|
||||
&&\multispan{20}\hfil{\it OBJECT FORMATS}\hfil\cr
|
||||
{\strut\hfil #\ &\vrule#&\hskip .5em #\hskip .5em &\vrule#&\hskip .5em #\hskip .5em
|
||||
&\vrule#&\hskip .5em #\hskip .5em &\vrule#&\hskip .5em #\hskip .5em &\vrule#&\hskip .5em #\hskip .5em &\vrule#&\hskip .5em #\hskip .5em &\vrule#&\hskip .5em #\hskip .5em &\vrule#&\hskip .5em #\hskip .5em &\vrule#&\hskip .5em #\hskip .5em &\vrule#&\hskip .5em #\hskip .5em &\vrule#\cr
|
||||
&&\multispan{20}\quad\vbox{\hrule}\cr
|
||||
&&\multispan{20}\quad\code{ieee}\hfil\cr
|
||||
&& &&\multispan{18}\quad\code{oasys}\hfil\cr
|
||||
@ -1939,8 +1949,6 @@ ARCHITECTURES | | | | | | | | | |b.out.big
|
||||
&& && && && && && && &&
|
||||
&&\multispan4\quad\code{b.out.little}\hfil \cr
|
||||
&& && && && && && && && && &&\multispan2\quad\code{b.out.big}\hidewidth\cr
|
||||
{\it ARCHITECTURES} && && && && && && && && && && &\cr
|
||||
&& && && && && && && && && && &\cr
|
||||
\code{m68k}&&\sqbull&&\sqbull&& && && &&\sqbull&& && && && &\cr
|
||||
\code{vax}&&\sqbull&&\sqbull&& && && &&\sqbull&& && && && &\cr
|
||||
\code{i960}&&\sqbull&&\sqbull&& && && &&\sqbull&&\sqbull&&\sqbull&&\sqbull&&\sqbull &\cr
|
||||
@ -1959,6 +1967,7 @@ ARCHITECTURES | | | | | | | | | |b.out.big
|
||||
\code{H8/300}&&\sqbull&&\sqbull&& && && &&\sqbull&& && && && &\cr
|
||||
}}
|
||||
@end tex
|
||||
@c END TEXI2ROFF-KILL
|
||||
|
||||
@cindex BFD requirements
|
||||
@cindex requirements for BFD
|
||||
|
Reference in New Issue
Block a user