darwin.h (EXTRA_SECTION_FUNCTIONS): Mark the __sel_fixup...

[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
This commit is contained in:
Ziemowit Laski 2004-08-13 21:46:49 +00:00 committed by Ziemowit Laski
parent e070414316
commit 3e0d5ae260
2 changed files with 9 additions and 3 deletions

View 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>

View 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) \