diff options
author | Alan Modra <amodra@gmail.com> | 2018-10-20 11:12:46 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2018-10-20 19:46:43 +1030 |
commit | e4c2619ad1f31cf73d275b027e8c0cf9c6e9597a (patch) | |
tree | 1b93a048c0c8e91a12c2841df06446689da1c61d /gas/ChangeLog | |
parent | ac85e67c053f1555def2c111962f4e68740794f9 (diff) | |
download | gdb-e4c2619ad1f31cf73d275b027e8c0cf9c6e9597a.zip gdb-e4c2619ad1f31cf73d275b027e8c0cf9c6e9597a.tar.gz gdb-e4c2619ad1f31cf73d275b027e8c0cf9c6e9597a.tar.bz2 |
PR23800, .eqv doesn't always defer expression evaluation
.eqv (and ==) ought not simplify expressions involving dot or other
symbols set by .eqv. If such simplification occurs, the value of dot
will be that at the assignment rather than at the place where the
symbol is used.
PR 23800
* expr.c (expr): Don't simplify expressions involving forward_ref
symbols when mode is expr_defer.
* config/tc-spu.c (spu_cons): Parse expression using normal
expression evaluation if @ppu is not detected.
* testsuite/gas/all/eqv-dot.d,
* testsuite/gas/all/eqv-dot.s: New test.
* testsuite/gas/all/gas.exp: Run it.
Diffstat (limited to 'gas/ChangeLog')
-rw-r--r-- | gas/ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 0ae0206..71dd3b8 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,14 @@ +2018-10-20 Alan Modra <amodra@gmail.com> + + PR 23800 + * expr.c (expr): Don't simplify expressions involving forward_ref + symbols when mode is expr_defer. + * config/tc-spu.c (spu_cons): Parse expression using normal + expression evaluation if @ppu is not detected. + * testsuite/gas/all/eqv-dot.d, + * testsuite/gas/all/eqv-dot.s: New test. + * testsuite/gas/all/gas.exp: Run it. + 2018-10-19 Tamar Christina <tamar.christina@arm.com> * testsuite/gas/arm/undefined-insn-arm.d: Widen pe skip. |