This is the mail archive of the
binutils-cvs@sources.redhat.com
mailing list for the binutils project.
src/ld ChangeLog ld.texinfo ldlang.c
- From: nickc at sourceware dot org
- To: binutils-cvs at sources dot redhat dot com
- Date: 17 May 2005 14:35:23 -0000
- Subject: src/ld ChangeLog ld.texinfo ldlang.c
CVSROOT: /cvs/src
Module name: src
Changes by: nickc@sourceware.org 2005-05-17 14:35:23
Modified files:
ld : ChangeLog ld.texinfo ldlang.c
Log message:
* 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.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/ChangeLog.diff?cvsroot=src&r1=1.1340&r2=1.1341
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/ld.texinfo.diff?cvsroot=src&r1=1.141&r2=1.142
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/ldlang.c.diff?cvsroot=src&r1=1.182&r2=1.183