From 8739ed59c414cb398d6ffd6df489519700116d8a Mon Sep 17 00:00:00 2001 From: Matt Austern Date: Wed, 22 Sep 2004 18:11:50 +0000 Subject: [PATCH] * config/darwin.c (darwin_make_decl_one_only) Allow coalesced symbol to appear in static archive's table of contents From-SVN: r87871 --- gcc/ChangeLog | 5 +++++ gcc/config/darwin.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4ee9eda..87ae462 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-09-22 Matt Austern + + * 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 PR tree-optimization/17512 diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c index 249ebab..dd9c34d 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); } -- 2.7.4