diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2010-12-30 21:31:04 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2010-12-30 21:31:04 +0000 |
commit | b331ec2b8a2573900bcf28a176f9429c533e4782 (patch) | |
tree | 998b26508748c927b693b7b307533cd6bd23bd9d | |
parent | 223706ad626f262e18f9ae7786cbc88509b088a5 (diff) | |
download | gcc-b331ec2b8a2573900bcf28a176f9429c533e4782.zip gcc-b331ec2b8a2573900bcf28a176f9429c533e4782.tar.gz gcc-b331ec2b8a2573900bcf28a176f9429c533e4782.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/sparc/sparc.c | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ac064a0..bbc5827 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index 7df0dfb..62fc328 100644 --- a/gcc/config/sparc/sparc.c +++ b/gcc/config/sparc/sparc.c @@ -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; |