From: James E Wilson Date: Tue, 29 Mar 2005 00:32:01 +0000 (+0000) Subject: Fix problem with redefining extern __thread as static __thread. X-Git-Tag: releases/gcc-3.3.6~50 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fbcf90aa2e2d755ff8466f23a390cae5205d9043;p=thirdparty%2Fgcc.git Fix problem with redefining extern __thread as static __thread. PR target/20286. * config/ia64/ia64.c (ia64_encode_section_info): Only abort if encoding or symbol_str[1] is 's'. From-SVN: r97145 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 65461e587cd5..7ce193150f90 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2005-03-28 James E Wilson + + PR target/20286. + * config/ia64/ia64.c (ia64_encode_section_info): Only abort if encoding + or symbol_str[1] is 's'. + 2005-02-23 Michael Beach PR target/20159 diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c index c92a8b129209..a01ff182b242 100644 --- a/gcc/config/ia64/ia64.c +++ b/gcc/config/ia64/ia64.c @@ -7360,7 +7360,8 @@ ia64_encode_section_info (decl, first) if (encoding == symbol_str[1]) return; /* ??? Sdata became thread or thread becaome not thread. Lose. */ - abort (); + if (encoding == 's' || symbol_str[1] == 's') + abort (); } len = strlen (symbol_str);