* ld.texinfo (Expression Section): Correct description of
authorAlan Modra <amodra@gmail.com>
Sun, 16 Sep 2012 22:21:00 +0000 (22:21 +0000)
committerAlan Modra <amodra@gmail.com>
Sun, 16 Sep 2012 22:21:00 +0000 (22:21 +0000)
conversions for a binary operation involving an absolute symbol
and a number.

ld/ChangeLog
ld/ld.texinfo

index 13dc94c2be1f6c4e744f8247e19dd98b65a95451..1e4060c418e8212e8974ea294b5cf0b8d7d947c1 100644 (file)
@@ -1,3 +1,9 @@
+2012-09-17  Alan Modra  <amodra@gmail.com>
+
+       * ld.texinfo (Expression Section): Correct description of
+       conversions for a binary operation involving an absolute symbol
+       and a number.
+
 2012-09-14  David Edelsohn  <dje.gcc@gmail.com>
 
        * configure: Regenerate.
index dd3149c8df244dddd3f0529c2c89b0547821673e..9bd9c7c9157e62e289d11e06eb8fb28c3294e308 100644 (file)
@@ -5646,14 +5646,18 @@ addresses, ld follows these rules to evaluate terms:
 
 @itemize @bullet
 @item
+Unary operations on an absolute address or number, and binary
+operations on two absolute addresses or two numbers, or between one
+absolute address and a number, apply the operator to the value(s).
+@item
 Unary operations on a relative address, and binary operations on two
 relative addresses in the same section or between one relative address
 and a number, apply the operator to the offset part of the address(es).
 @item
-Unary operations on an absolute address, and binary operations on one
-or more absolute addresses or on two relative addresses not in the
-same section, first convert any non-absolute term to an absolute
-address before applying the operator.
+Other binary operations, that is, between two relative addresses not
+in the same section, or between a relative address and an absolute
+address, first convert any non-absolute term to an absolute address
+before applying the operator.
 @end itemize
 
 The result section of each sub-expression is as follows:
This page took 0.033212 seconds and 4 git commands to generate.