diff options
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/darwin.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4ee9eda85e9..87ae4623d37 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c index 249ebab247b..dd9c34d984a 100644 --- a/gcc/config/darwin.c +++ b/gcc/config/darwin.c @@ -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); } |