diff options
author | Nick Clifton <nickc@redhat.com> | 2005-05-17 14:35:21 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2005-05-17 14:35:21 +0000 |
commit | 3b83e13a450c5ecc419369bf0e413a895cb52608 (patch) | |
tree | 3d75763cf719ec8aadcd1cf7be88e91e0155ae17 /ld/ChangeLog | |
parent | c3357c6410a943a30157dff506e9496061957750 (diff) | |
download | gdb-3b83e13a450c5ecc419369bf0e413a895cb52608.zip gdb-3b83e13a450c5ecc419369bf0e413a895cb52608.tar.gz gdb-3b83e13a450c5ecc419369bf0e413a895cb52608.tar.bz2 |
* ldlang.c (Scan_for_self_assignment): Check an assignment tree to
see if the same value is being used on the rhs as on the lhs.
(print_assignment): Call scan_for_self_assignment and if it
returns true, do no display the result of the computation but
instead just the final value of the symbol on the lhs.
* ld.texinfo: Document this behaviour and provide an example of
when it will happen.
Diffstat (limited to 'ld/ChangeLog')
-rw-r--r-- | ld/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index a7d5865..342b939 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,13 @@ +2005-05-17 Nick Clifton <nickc@redhat.com> + + * ldlang.c (Scan_for_self_assignment): Check an assignment tree to + see if the same value is being used on the rhs as on the lhs. + (print_assignment): Call scan_for_self_assignment and if it + returns true, do no display the result of the computation but + instead just the final value of the symbol on the lhs. + * ld.texinfo: Document this behaviour and provide an example of + when it will happen. + 2005-05-15 Daniel Jacobowitz <dan@codesourcery.com> * Makefile.am (AM_MAKEINFOFLAGS): Define. |