aboutsummaryrefslogtreecommitdiff
path: root/ld/ld.texinfo
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2010-10-01 08:15:42 +0000
committerAlan Modra <amodra@gmail.com>2010-10-01 08:15:42 +0000
commitabf4be64df114dbca199fc2c2fbf52fa17492649 (patch)
tree9b3869563a3f3201d06ec1d3681448c8f57212fd /ld/ld.texinfo
parent0629d0af5a963d9bf2eafe458dc01f40eb597615 (diff)
downloadgdb-abf4be64df114dbca199fc2c2fbf52fa17492649.zip
gdb-abf4be64df114dbca199fc2c2fbf52fa17492649.tar.gz
gdb-abf4be64df114dbca199fc2c2fbf52fa17492649.tar.bz2
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 28c59f2..206068a 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