darwin.h (EXTRA_SECTION_FUNCTIONS): Mark the __sel_fixup...
authorZiemowit Laski <zlaski@apple.com>
Fri, 13 Aug 2004 21:46:49 +0000 (21:46 +0000)
committerZiemowit Laski <zlaski@gcc.gnu.org>
Fri, 13 Aug 2004 21:46:49 +0000 (21:46 +0000)
[gcc/ChangeLog]
2004-08-13  Ziemowit Laski  <zlaski@apple.com>

        * config/darwin.h (EXTRA_SECTION_FUNCTIONS): Mark the __sel_fixup,
        __cstring_object and __image_info sections with the no_dead_strip
        attribute.

From-SVN: r85964

gcc/ChangeLog
gcc/config/darwin.h

index 610345d1dbeb09cd29998325f39fd4456871a32a..acf67ebc236bf78f83f53ebdcf482b0772f28805 100644 (file)
@@ -1,3 +1,9 @@
+2004-08-13  Ziemowit Laski  <zlaski@apple.com>
+
+       * config/darwin.h (EXTRA_SECTION_FUNCTIONS): Mark the __sel_fixup,
+       __cstring_object and __image_info sections with the no_dead_strip
+       attribute.
+
 2004-08-13  Roger Sayle  <roger@eyesopen.com>
            David Billinghurst  <David.Billinghurst@riotinto.com>
 
index f7b75f8f64738fba3e86e4553ab48c50435cc8d4..488081bd3f43a9265d107f46f03217f6499965eb 100644 (file)
@@ -659,7 +659,7 @@ SECTION_FUNCTION (objc_selector_refs_section,       \
                  ".objc_message_refs", 1)      \
 SECTION_FUNCTION (objc_selector_fixup_section, \
                  in_objc_selector_fixup,       \
-                 ".section __OBJC, __sel_fixup", 1)    \
+                 ".section __OBJC, __sel_fixup, regular, no_dead_strip", 1)    \
 SECTION_FUNCTION (objc_symbols_section,                \
                  in_objc_symbols,              \
                  ".objc_symbols", 1)   \
@@ -674,11 +674,11 @@ SECTION_FUNCTION (objc_string_object_section,     \
                  ".objc_string_object", 1)     \
 SECTION_FUNCTION (objc_constant_string_object_section, \
                  in_objc_constant_string_object,       \
-                 ".section __OBJC, __cstring_object", 1)       \
+                 ".section __OBJC, __cstring_object, regular, no_dead_strip", 1)       \
 /* Fix-and-Continue image marker.  */          \
 SECTION_FUNCTION (objc_image_info_section,     \
                   in_objc_image_info,          \
-                  ".section __OBJC, __image_info", 1)  \
+                  ".section __OBJC, __image_info, regular, no_dead_strip", 1)  \
 SECTION_FUNCTION (objc_class_names_section,    \
                in_objc_class_names,            \
                ".objc_class_names", 1) \