Miscellaneous ld tidies

Localise a struct, prevent an unneeded symbol lookup, and fix a
testcase.

ld/
	* ld.h (struct map_symbol_def): Move to..
	* ldlang.h: ..here.
	* ldlang.c (print_assignment): Don't set expld.assign_name to dot.
ld/testsuite/
	* ld-scripts/pr14962-2.d: Correct target triple.
This commit is contained in:
Alan Modra 2014-01-22 12:51:19 +10:30
parent 2edab91c10
commit 7dd9c6eb05
6 changed files with 18 additions and 7 deletions

View file

@ -3935,7 +3935,8 @@ print_assignment (lang_assignment_statement_type *assignment,
const char *dst = assignment->exp->assign.dst;
is_dot = (dst[0] == '.' && dst[1] == 0);
expld.assign_name = dst;
if (!is_dot)
expld.assign_name = dst;
tree = assignment->exp->assign.src;
}