From 3e0d5ae260453974cd6f114665c8336c644b04f9 Mon Sep 17 00:00:00 2001 From: Ziemowit Laski Date: Fri, 13 Aug 2004 21:46:49 +0000 Subject: [PATCH] darwin.h (EXTRA_SECTION_FUNCTIONS): Mark the __sel_fixup... [gcc/ChangeLog] 2004-08-13 Ziemowit Laski * 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 | 6 ++++++ gcc/config/darwin.h | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 610345d1dbe..acf67ebc236 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-08-13 Ziemowit Laski + + * 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 David Billinghurst diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h index f7b75f8f647..488081bd3f4 100644 --- a/gcc/config/darwin.h +++ b/gcc/config/darwin.h @@ -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) \ -- 2.30.2