* config/darwin.c (darwin_make_decl_one_only)
authorMatt Austern <austern@apple.com>
Wed, 22 Sep 2004 18:11:50 +0000 (18:11 +0000)
committerMatt Austern <austern@gcc.gnu.org>
Wed, 22 Sep 2004 18:11:50 +0000 (18:11 +0000)
Allow coalesced symbol to appear in static archive's table of contents

From-SVN: r87871

gcc/ChangeLog
gcc/config/darwin.c

index 4ee9eda85e9e0f4c137c4028901d681c7109ede9..87ae4623d37bf704016d15578e12f988d4bfded5 100644 (file)
@@ -1,3 +1,8 @@
+2004-09-22  Matt Austern  <austern@apple.com>
+
+       * config/darwin.c (darwin_make_decl_one_only)
+       Allow coalesced symbol to appear in static archive's table of contents
+       
 2004-09-22  Kazu Hirata  <kazu@cs.umass.edu>
 
        PR tree-optimization/17512
index 249ebab247bcbc224219e3f6a38cd9cdf544622d..dd9c34d984ae075249ab6d72d96a8dc40161870a 100644 (file)
@@ -998,8 +998,8 @@ darwin_make_decl_one_only (tree decl)
   tree sec = 0;
   if (textcoal_section == 0)
     {
-      static const char *ts = "__TEXT,__textcoal_nt,coalesced,no_toc";
-      static const char *ds = "__DATA,__datacoal_nt,coalesced,no_toc";
+      static const char *ts = "__TEXT,__textcoal_nt,coalesced";
+      static const char *ds = "__DATA,__datacoal_nt,coalesced";
       textcoal_section = build_string (strlen (ts), ts);
       datacoal_section = build_string (strlen (ds), ds);
     }