summaryrefslogtreecommitdiff
path: root/gcc/config/darwin.c
diff options
context:
space:
mode:
authoraustern <austern@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-22 18:11:50 +0000
committeraustern <austern@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-22 18:11:50 +0000
commite13c1fe6066fcae791d7c2c47168bb529b7a4e7e (patch)
tree4e0f0177cc3c61978b8bf9baa6eeea9af7c33252 /gcc/config/darwin.c
parentc8e36e552f78eb3e2449f06e4ae1409f48422dda (diff)
downloadgcc-e13c1fe6066fcae791d7c2c47168bb529b7a4e7e.tar.gz
* config/darwin.c (darwin_make_decl_one_only)
Allow coalesced symbol to appear in static archive's table of contents git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87871 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/darwin.c')
-rw-r--r--gcc/config/darwin.c4
1 files changed, 2 insertions, 2 deletions
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);
}