diff options
author | Alan Modra <amodra@gmail.com> | 2016-10-04 10:43:50 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2016-10-04 10:43:50 +1030 |
commit | 94b41882b09a0b61c27cb0220ac31d9f5496e13c (patch) | |
tree | 1c9a274ffaaf601dc8e03c2e52badcc912703402 /ld/ChangeLog | |
parent | 9ad39107ca6e4efcda0f48a6abf528844a2f11aa (diff) | |
download | gdb-94b41882b09a0b61c27cb0220ac31d9f5496e13c.zip gdb-94b41882b09a0b61c27cb0220ac31d9f5496e13c.tar.gz gdb-94b41882b09a0b61c27cb0220ac31d9f5496e13c.tar.bz2 |
ld expression section
Changes the result of ld expressions that were previously plain
numbers to be an absolute address, in the same circumstances where
numbers are treated as absolute addresses.
* ld.texinfo (Expression Section): Update result of arithmetic
expressions.
* ldexp.c (arith_result_section): New function.
(fold_binary): Use it.
Diffstat (limited to 'ld/ChangeLog')
-rw-r--r-- | ld/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 8b22c50..dd20229 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,12 @@ 2016-10-04 Alan Modra <amodra@gmail.com> + * ld.texinfo (Expression Section): Update result of arithmetic + expressions. + * ldexp.c (arith_result_section): New function. + (fold_binary): Use it. + +2016-10-04 Alan Modra <amodra@gmail.com> + * ldexp.c (exp_value_fold): New function. (exp_unop, exp_binop, exp_trinop): Use it. |