Commit 0462b9b5 by Eric Botcazou Committed by Eric Botcazou

re PR target/37170 (gcc.dg/weak/weak-1.c)

	PR target/37170
	PR target/38448
	* final.c (output_addr_const) <SYMBOL_REF>: Call assemble_external
	on the associated SYMBOL_REF_DECL node, if any.

From-SVN: r142640
parent 53f37b01
2008-12-10 Eric Botcazou <ebotcazou@adacore.com>
PR target/37170
PR target/38448
* final.c (output_addr_const) <SYMBOL_REF>: Call assemble_external
on the associated SYMBOL_REF_DECL node, if any.
2008-12-09 David Daney <ddaney@caviumnetworks.com>
* config/mips/sync.md (sync_<optab>_12): Replace
......@@ -3440,7 +3440,10 @@ output_addr_const (FILE *file, rtx x)
case SYMBOL_REF:
if (SYMBOL_REF_DECL (x))
mark_decl_referenced (SYMBOL_REF_DECL (x));
{
mark_decl_referenced (SYMBOL_REF_DECL (x));
assemble_external (SYMBOL_REF_DECL (x));
}
#ifdef ASM_OUTPUT_SYMBOL_REF
ASM_OUTPUT_SYMBOL_REF (file, x);
#else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment