From 3b83e13a450c5ecc419369bf0e413a895cb52608 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 17 May 2005 14:35:21 +0000 Subject: * 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. --- ld/ChangeLog | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'ld/ChangeLog') 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 + + * 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 * Makefile.am (AM_MAKEINFOFLAGS): Define. -- cgit v1.1