aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMatt Austern <austern@apple.com>2004-09-22 18:11:50 +0000
committerMatt Austern <austern@gcc.gnu.org>2004-09-22 18:11:50 +0000
commit8739ed59c414cb398d6ffd6df489519700116d8a (patch)
tree4e0f0177cc3c61978b8bf9baa6eeea9af7c33252 /gcc
parenta338ab5a5a0f6421a4ce6823451784de6b724424 (diff)
downloadgcc-8739ed59c414cb398d6ffd6df489519700116d8a.zip
gcc-8739ed59c414cb398d6ffd6df489519700116d8a.tar.gz
gcc-8739ed59c414cb398d6ffd6df489519700116d8a.tar.bz2
* config/darwin.c (darwin_make_decl_one_only)
Allow coalesced symbol to appear in static archive's table of contents From-SVN: r87871
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/darwin.c4
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 <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 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);
}