mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-21 10:34:21 +08:00
* ld.texinfo (Expression Section): Correct description of
conversions for a binary operation involving an absolute symbol and a number.
This commit is contained in:
@ -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>
|
2012-09-14 David Edelsohn <dje.gcc@gmail.com>
|
||||||
|
|
||||||
* configure: Regenerate.
|
* configure: Regenerate.
|
||||||
|
@ -5646,14 +5646,18 @@ addresses, ld follows these rules to evaluate terms:
|
|||||||
|
|
||||||
@itemize @bullet
|
@itemize @bullet
|
||||||
@item
|
@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
|
Unary operations on a relative address, and binary operations on two
|
||||||
relative addresses in the same section or between one relative address
|
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).
|
and a number, apply the operator to the offset part of the address(es).
|
||||||
@item
|
@item
|
||||||
Unary operations on an absolute address, and binary operations on one
|
Other binary operations, that is, between two relative addresses not
|
||||||
or more absolute addresses or on two relative addresses not in the
|
in the same section, or between a relative address and an absolute
|
||||||
same section, first convert any non-absolute term to an absolute
|
address, first convert any non-absolute term to an absolute address
|
||||||
address before applying the operator.
|
before applying the operator.
|
||||||
@end itemize
|
@end itemize
|
||||||
|
|
||||||
The result section of each sub-expression is as follows:
|
The result section of each sub-expression is as follows:
|
||||||
|
Reference in New Issue
Block a user