summaryrefslogtreecommitdiff
path: root/ld/ld.texinfo
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2010-10-01 08:15:41 +0000
committerAlan Modra <amodra@bigpond.net.au>2010-10-01 08:15:41 +0000
commitdc027516e99b4795b1fba7179de6fe006069109b (patch)
tree450e682bf8e41827c7ec308d8a9a8cfa5e42ecc3 /ld/ld.texinfo
parentd20ed5767b95f915738a7d56a62e12c80ae3bc5c (diff)
downloadbinutils-redhat-dc027516e99b4795b1fba7179de6fe006069109b.tar.gz
PR ld/12066
* ldexp.c (fold_name): Treat absolute symbols as plain numbers. * ld.texinfo (Expression Section): Don't say absolute symbols are addresses.
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r--ld/ld.texinfo10
1 files changed, 5 insertions, 5 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo
index 28c59f2a79..206068a62f 100644
--- a/ld/ld.texinfo
+++ b/ld/ld.texinfo
@@ -5453,11 +5453,11 @@ value of a section relative symbol. On the other hand, an absolute
symbol will retain the same value throughout any further link
operations.
-Some terms in linker expressions are addresses. This is true of all
-symbols and for builtin functions that return an address, such as
-@code{ADDR}, @code{LOADADDR}, @code{ORIGIN} and @code{SEGMENT_START}.
-Other terms are simply numbers, or are builtin functions that return a
-non-address value, such as @code{LENGTH}.
+Some terms in linker expressions are addresses. This is true of
+section relative symbols and for builtin functions that return an
+address, such as @code{ADDR}, @code{LOADADDR}, @code{ORIGIN} and
+@code{SEGMENT_START}. Other terms are simply numbers, or are builtin
+functions that return a non-address value, such as @code{LENGTH}.
When the linker evaluates an expression, the result depends on where
the expression is located in a linker script. Expressions appearing