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