Commit b331ec2b by Eric Botcazou Committed by Eric Botcazou

re PR target/47038 (failure of gcc.dg/pr46685.c)

	PR target/47038
	* config/sparc/sparc.c (sparc_file_end): Call resolve_unique_section
	on the GOT helper if USE_HIDDEN_LINKONCE.

From-SVN: r168351
parent 223706ad
2010-12-30 Eric Botcazou <ebotcazou@adacore.com>
PR target/47038
* config/sparc/sparc.c (sparc_file_end): Call resolve_unique_section
on the GOT helper if USE_HIDDEN_LINKONCE.
2010-12-30 Joseph Myers <joseph@codesourcery.com> 2010-12-30 Joseph Myers <joseph@codesourcery.com>
PR c/46889 PR c/46889
...@@ -9534,6 +9534,7 @@ sparc_file_end (void) ...@@ -9534,6 +9534,7 @@ sparc_file_end (void)
make_decl_one_only (decl, DECL_ASSEMBLER_NAME (decl)); make_decl_one_only (decl, DECL_ASSEMBLER_NAME (decl));
DECL_VISIBILITY (decl) = VISIBILITY_HIDDEN; DECL_VISIBILITY (decl) = VISIBILITY_HIDDEN;
DECL_VISIBILITY_SPECIFIED (decl) = 1; DECL_VISIBILITY_SPECIFIED (decl) = 1;
resolve_unique_section (decl, 0, flag_function_sections);
allocate_struct_function (decl, true); allocate_struct_function (decl, true);
cfun->is_thunk = 1; cfun->is_thunk = 1;
current_function_decl = decl; current_function_decl = decl;
......
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