[llvm-commits] [llvm-gcc-4.2] r60060 - /llvm-gcc-4.2/trunk/gcc/config/darwin.c

Bill Wendling isanbard at gmail.com
Tue Nov 25 14:24:50 PST 2008


Author: void
Date: Tue Nov 25 16:24:50 2008
New Revision: 60060

URL: http://llvm.org/viewvc/llvm-project?rev=60060&view=rev
Log:
Update to correct section type.

Modified:
    llvm-gcc-4.2/trunk/gcc/config/darwin.c

Modified: llvm-gcc-4.2/trunk/gcc/config/darwin.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/darwin.c?rev=60060&r1=60059&r2=60060&view=diff

==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/darwin.c (original)
+++ llvm-gcc-4.2/trunk/gcc/config/darwin.c Tue Nov 25 16:24:50 2008
@@ -1533,7 +1533,8 @@
             return darwin_sections[objc_v2_message_refs_section];
           else if (!strncmp (name, "_OBJC_LABEL_CLASS_", 18))
             return darwin_sections[objc_v2_classlist_section];
-          else if (!strncmp (name, "_OBJC_LABEL_PROTOCOL_", 21))
+          /* APPLE LOCAL radar 6351990 */
+          else if (!strncmp (name, "l_OBJC_LABEL_PROTOCOL_", 22))
             return darwin_sections[objc_v2_protocollist_section];
           else if (!strncmp (name, "_OBJC_LABEL_CATEGORY_", 21))
             return darwin_sections[objc_v2_categorylist_section];
@@ -1718,7 +1719,7 @@
     else if (!strncmp (name, "LABEL_CLASS_", 12))
       return "__DATA, __objc_classlist, regular, no_dead_strip"; 
     else if (!strncmp (name, "LABEL_PROTOCOL_", 15))
-      return "__DATA, __objc_protolist, regular, no_dead_strip"; 
+      return "__DATA, __objc_protolist, coalesced, no_dead_strip"; 
     else if (!strncmp (name, "LABEL_CATEGORY_", 15))
       return "__DATA, __objc_catlist, regular, no_dead_strip"; 
     else if (!strncmp (name, "LABEL_NONLAZY_CLASS_", 20))
@@ -1726,7 +1727,7 @@
     else if (!strncmp (name, "LABEL_NONLAZY_CATEGORY_", 23))
       return "__DATA, __objc_nlcatlist, regular, no_dead_strip";
     else if (!strncmp (name, "PROTOCOL_REFERENCE_", 19))
-      return "__DATA, __objc_protorefs, regular, no_dead_strip";
+      return "__DATA, __objc_protorefs, coalesced, no_dead_strip";
     else if (!strncmp (name, "SELECTOR_REFERENCES", 19))
       return "__DATA, __objc_selrefs, literal_pointers, no_dead_strip";
     else if (!strncmp (name, "IMAGE_INFO", 10))





More information about the llvm-commits mailing list