]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix problem with redefining extern __thread as static __thread.
authorJames E Wilson <wilson@specifixinc.com>
Tue, 29 Mar 2005 00:32:01 +0000 (00:32 +0000)
committerJim Wilson <wilson@gcc.gnu.org>
Tue, 29 Mar 2005 00:32:01 +0000 (16:32 -0800)
PR target/20286.
* config/ia64/ia64.c (ia64_encode_section_info): Only abort if encoding
or symbol_str[1] is 's'.

From-SVN: r97145

gcc/ChangeLog
gcc/config/ia64/ia64.c

index 65461e587cd5d1b3d7dfda2c82e01c987325056f..7ce193150f9021ab76536f7d2b89abd2d30bfcb9 100644 (file)
@@ -1,3 +1,9 @@
+2005-03-28  James E Wilson  <wilson@specifixinc.com>
+
+       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  <michaelb@ieee.org>
 
        PR target/20159
index c92a8b12920950634df8fa780bc681d384d4a708..a01ff182b2427957ef24fa316eaae717459d0813 100644 (file)
@@ -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);