mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-01-24 18:35:28 +00:00
PR 9797
* ld.texinfo (Constants): Document the base-encoding suffixes supported in linker scripts.
This commit is contained in:
parent
28024d9d1d
commit
8a308ae82b
@ -1,3 +1,9 @@
|
||||
2009-02-03 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
PR 9797
|
||||
* ld.texinfo (Constants): Document the base-encoding suffixes
|
||||
supported in linker scripts.
|
||||
|
||||
2009-02-03 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* NEWS: Mention --as-needed change.
|
||||
|
@ -1,7 +1,8 @@
|
||||
\input texinfo
|
||||
@setfilename ld.info
|
||||
@c Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
|
||||
@c 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
||||
@c 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
|
||||
@c Free Software Foundation, Inc.
|
||||
@syncodeindex ky cp
|
||||
@c man begin INCLUDE
|
||||
@include configdoc.texi
|
||||
@ -54,7 +55,7 @@ This file documents the @sc{gnu} linker LD
|
||||
version @value{VERSION}.
|
||||
|
||||
Copyright @copyright{} 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000,
|
||||
2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
||||
2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
|
||||
|
||||
Permission is granted to copy, distribute and/or modify this document
|
||||
under the terms of the GNU Free Documentation License, Version 1.3
|
||||
@ -4728,7 +4729,10 @@ All constants are integers.
|
||||
|
||||
As in C, the linker considers an integer beginning with @samp{0} to be
|
||||
octal, and an integer beginning with @samp{0x} or @samp{0X} to be
|
||||
hexadecimal. The linker considers other integers to be decimal.
|
||||
hexadecimal. Alternatively the linker accepts suffixes of @samp{h} or
|
||||
@samp{H} for hexadeciaml, @samp{o} or @samp{O} for octal, @samp{b} or
|
||||
@samp{B} for binary and @samp{d} or @samp{D} for decimal. Any integer
|
||||
value without a prefix or a suffix is considered to be decimal.
|
||||
|
||||
@cindex scaled integers
|
||||
@cindex K and M integer suffixes
|
||||
@ -4747,13 +4751,19 @@ constant by
|
||||
${\rm 1024}$ or ${\rm 1024}^2$
|
||||
@end tex
|
||||
@c END TEXI2ROFF-KILL
|
||||
respectively. For example, the following all refer to the same quantity:
|
||||
respectively. For example, the following
|
||||
all refer to the same quantity:
|
||||
|
||||
@smallexample
|
||||
_fourk_1 = 4K;
|
||||
_fourk_2 = 4096;
|
||||
_fourk_3 = 0x1000;
|
||||
_fourk_4 = 10000o;
|
||||
@end smallexample
|
||||
|
||||
Note - the @code{K} and @code{M} suffixes cannot be used in
|
||||
conjunction with the base suffixes mentioned above.
|
||||
|
||||
@node Symbols
|
||||
@subsection Symbol Names
|
||||
@cindex symbol names
|
||||
|
Loading…
x
Reference in New Issue
Block a user