diff options
author | Alan Modra <amodra@gmail.com> | 2016-07-20 09:44:46 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2016-07-20 10:55:45 +0930 |
commit | b751e639fcc69ba6e1d8ccc0fef2be1522802a33 (patch) | |
tree | b1c2df529604c99bbc812f79918b50243f770d8a /ChangeLog | |
parent | 3ce512885ba76da53fae84cd1a555bc721fdd25e (diff) | |
download | gdb-b751e639fcc69ba6e1d8ccc0fef2be1522802a33.zip gdb-b751e639fcc69ba6e1d8ccc0fef2be1522802a33.tar.gz gdb-b751e639fcc69ba6e1d8ccc0fef2be1522802a33.tar.bz2 |
Early expression evaluation
Folding a constant expression early can lead to loss of tokens, eg.
ABSOLUTE, that are significant in ld's horrible context sensitive
expression evaluation. Also, MAXPAGESIZE and other "constants" may
not have taken values specified on the command line, leading to the
wrong value being cached.
* ldexp.c (exp_unop, exp_binop, exp_trinop, exp_nameop): Don't
fold expression.
* testsuite/ld-elf/maxpage3b.d: Expect correct maxpagesize.
Diffstat (limited to 'ChangeLog')
0 files changed, 0 insertions, 0 deletions