PR gas/12282

* expr.c (expr_build_dot): Make a clone of the symbol to return if
	needed.
This commit is contained in:
Maciej W. Rozycki
2010-12-04 00:19:19 +00:00
parent 5492beb9c8
commit e66a3432ef
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
2010-12-04 Maciej W. Rozycki <macro@codesourcery.com>
PR gas/12282
* expr.c (expr_build_dot): Make a clone of the symbol to return if
needed.
2010-12-02 Richard Sandiford <richard.sandiford@linaro.org> 2010-12-02 Richard Sandiford <richard.sandiford@linaro.org>
* symbols.c (S_FORCE_RELOC): Return true for indirect functions * symbols.c (S_FORCE_RELOC): Return true for indirect functions

View File

@@ -172,7 +172,7 @@ expr_build_dot (void)
expressionS e; expressionS e;
current_location (&e); current_location (&e);
return make_expr_symbol (&e); return symbol_clone_if_forward_ref (make_expr_symbol (&e));
} }
/* Build any floating-point literal here. /* Build any floating-point literal here.