summaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorZiemowit Laski <zlaski@apple.com>2003-09-25 01:26:01 +0000
committerZiemowit Laski <zlaski@gcc.gnu.org>2003-09-25 01:26:01 +0000
commit264fa2db22ce7cf50ebb108edb097acf0c9f2a57 (patch)
tree1052b4d25cc404c17e6402e22b8183026f4d4263 /gcc/config
parent3b6fdb2fa04453ebf17ec1dfd3ef62b413442430 (diff)
downloadgcc-264fa2db22ce7cf50ebb108edb097acf0c9f2a57.tar.gz
MERGE OF objc-improvements-branch into MAINLINE.
2003-09-24 Ziemowit Laski <zlaski@apple.com> MERGE OF objc-improvements-branch into MAINLINE. See 'gcc/ChangeLog' and 'gcc/testsuite/ChangeLog' for the gory details. From-SVN: r71748
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/darwin.c2
-rw-r--r--gcc/config/darwin.h5
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c
index 4e1c45c6012..dc864628a20 100644
--- a/gcc/config/darwin.c
+++ b/gcc/config/darwin.c
@@ -1214,6 +1214,8 @@ machopic_select_section (tree exp, int reloc,
objc_symbols_section ();
else if (!strncmp (name, "_OBJC_MODULES", 13))
objc_module_info_section ();
+ else if (!strncmp (name, "_OBJC_IMAGE_INFO", 16))
+ objc_image_info_section ();
else if (!strncmp (name, "_OBJC_PROTOCOL_INSTANCE_METHODS_", 32))
objc_cat_inst_meth_section ();
else if (!strncmp (name, "_OBJC_PROTOCOL_CLASS_METHODS_", 29))
diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h
index 528140d0f6e..35415159e49 100644
--- a/gcc/config/darwin.h
+++ b/gcc/config/darwin.h
@@ -510,6 +510,7 @@ FUNCTION (void) \
in_objc_symbols, in_objc_module_info, \
in_objc_protocol, in_objc_string_object, \
in_objc_constant_string_object, \
+ in_objc_image_info, \
in_objc_class_names, in_objc_meth_var_names, \
in_objc_meth_var_types, in_objc_cls_refs, \
in_machopic_nl_symbol_ptr, \
@@ -599,6 +600,10 @@ SECTION_FUNCTION (objc_string_object_section, \
SECTION_FUNCTION (objc_constant_string_object_section, \
in_objc_constant_string_object, \
".section __OBJC, __cstring_object", 1) \
+/* Fix-and-Continue image marker. */ \
+SECTION_FUNCTION (objc_image_info_section, \
+ in_objc_image_info, \
+ ".section __OBJC, __image_info", 1) \
SECTION_FUNCTION (objc_class_names_section, \
in_objc_class_names, \
".objc_class_names", 1) \