diff options
author | Eric Christopher <echristo@gcc.gnu.org> | 2006-12-20 00:42:34 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gcc.gnu.org> | 2006-12-20 00:42:34 +0000 |
commit | 59ff4a1c1cbf5e4f748087b9aebd6c2408f0f9d9 (patch) | |
tree | 3d03489462c529086a25f60ecfc7a74fd7ef9c7f /gcc/config/darwin-sections.def | |
parent | 91321cd0224ae8cc8864bf45f28c00e1ebe35187 (diff) | |
download | gcc-59ff4a1c1cbf5e4f748087b9aebd6c2408f0f9d9.tar.gz |
darwin.c (machopic_select_section): Rewrite.
2006-12-19 Eric Christopher <echristo@apple.com>
* config/darwin.c (machopic_select_section): Rewrite.
(darwin_text_section): New.
(darwin_rodata_section): Ditto.
(darwin_mergeable_string_section): Ditto.
(darwin_mergeable_constant_section): Ditto.
* config/darwin-sections.def: Add SECTION_STRINGS for cstring_section.
From-SVN: r120066
Diffstat (limited to 'gcc/config/darwin-sections.def')
-rw-r--r-- | gcc/config/darwin-sections.def | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/darwin-sections.def b/gcc/config/darwin-sections.def index 148b77511ea..e335ab4bf64 100644 --- a/gcc/config/darwin-sections.def +++ b/gcc/config/darwin-sections.def @@ -11,7 +11,7 @@ DEF_SECTION (const_data_coal_section, 0, ".section __DATA,__const_coal,coalesced", 0) DEF_SECTION (data_coal_section, SECTION_WRITE, ".section __DATA,__datacoal_nt,coalesced", 0) -DEF_SECTION (cstring_section, SECTION_MERGE, ".cstring", 0) +DEF_SECTION (cstring_section, SECTION_MERGE | SECTION_STRINGS, ".cstring", 0) DEF_SECTION (literal4_section, SECTION_MERGE, ".literal4", 0) DEF_SECTION (literal8_section, SECTION_MERGE, ".literal8", 0) DEF_SECTION (literal16_section, SECTION_MERGE, ".literal16", 0) |