This is the mail archive of the
binutils-cvs@sources.redhat.com
mailing list for the binutils project.
src/ld ChangeLog ldlang.c ld.texinfo
- From: jules at sourceware dot org
- To: binutils-cvs at sources dot redhat dot com
- Date: 18 May 2005 13:57:35 -0000
- Subject: src/ld ChangeLog ldlang.c ld.texinfo
CVSROOT: /cvs/src
Module name: src
Branch: binutils-csl-arm-2005q1-branch
Changes by: jules@sourceware.org 2005-05-18 13:57:35
Modified files:
ld : ChangeLog ldlang.c ld.texinfo
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&only_with_tag=binutils-csl-arm-2005q1-branch&r1=1.1290.2.8&r2=1.1290.2.8.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/ldlang.c.diff?cvsroot=src&only_with_tag=binutils-csl-arm-2005q1-branch&r1=1.173.2.1&r2=1.173.2.1.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/ld.texinfo.diff?cvsroot=src&only_with_tag=binutils-csl-arm-2005q1-branch&r1=1.140&r2=1.140.4.1