From 94b41882b09a0b61c27cb0220ac31d9f5496e13c Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 4 Oct 2016 10:43:50 +1030 Subject: 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. --- ld/ChangeLog | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ld/ChangeLog') 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 + * 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 + * ldexp.c (exp_value_fold): New function. (exp_unop, exp_binop, exp_trinop): Use it. -- cgit v1.1