mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-21 19:41:29 +08:00
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
This commit is contained in:
parent
223706ad62
commit
b331ec2b8a
@ -1,3 +1,9 @@
|
||||
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>
|
||||
|
||||
PR c/46889
|
||||
|
@ -9534,6 +9534,7 @@ sparc_file_end (void)
|
||||
make_decl_one_only (decl, DECL_ASSEMBLER_NAME (decl));
|
||||
DECL_VISIBILITY (decl) = VISIBILITY_HIDDEN;
|
||||
DECL_VISIBILITY_SPECIFIED (decl) = 1;
|
||||
resolve_unique_section (decl, 0, flag_function_sections);
|
||||
allocate_struct_function (decl, true);
|
||||
cfun->is_thunk = 1;
|
||||
current_function_decl = decl;
|
||||
|
Loading…
x
Reference in New Issue
Block a user