diff options
| author | austern <austern@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-22 18:11:50 +0000 |
|---|---|---|
| committer | austern <austern@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-22 18:11:50 +0000 |
| commit | e13c1fe6066fcae791d7c2c47168bb529b7a4e7e (patch) | |
| tree | 4e0f0177cc3c61978b8bf9baa6eeea9af7c33252 | |
| parent | c8e36e552f78eb3e2449f06e4ae1409f48422dda (diff) | |
| download | ppe42-gcc-e13c1fe6066fcae791d7c2c47168bb529b7a4e7e.tar.gz ppe42-gcc-e13c1fe6066fcae791d7c2c47168bb529b7a4e7e.zip | |
* 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
| -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); } |

