* config/darwin.c (darwin_make_decl_one_only)

Allow coalesced symbol to appear in static archive's table of contents

From-SVN: r87871
This commit is contained in:
Matt Austern 2004-09-22 18:11:50 +00:00 committed by Matt Austern
parent a338ab5a5a
commit 8739ed59c4
2 changed files with 7 additions and 2 deletions

View 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

View 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);
}