]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
PR ld/14962
authorAlan Modra <amodra@gmail.com>
Mon, 17 Dec 2012 00:16:49 +0000 (00:16 +0000)
committerAlan Modra <amodra@gmail.com>
Mon, 17 Dec 2012 00:16:49 +0000 (00:16 +0000)
commit4194268f43623a5f893b9a92b0456d3cb43ab915
treed3c470f3494ea65b44f5ca7d69aa1640c93ace2e
parentfaa7371af5014736b1c67cc7bd0cbcca3353a953
PR ld/14962
* ldexp.h (struct ldexp_control): Add "assign_name".
* ldexp.c (fold_name <NAME>): Compare and clear assign_name on match.
(exp_fold_tree_1): Remove existing code testing for self assignment.
Instead set and test expld.assign_name.
* ldlang.c (scan_for_self_assignment): Delete.
(print_assignment): Instead set and test expld.assign_name.
ld/ChangeLog
ld/ldexp.c
ld/ldexp.h
ld/ldlang.c