]> git.saurik.com Git - apple/ld64.git/blobdiff - src/ld/passes/objc.cpp
ld64-128.2.tar.gz
[apple/ld64.git] / src / ld / passes / objc.cpp
index ed591931062eeedc62609763025b924e0de6144f..b209b1dd61217066c1c92958fce8991a97cb866b 100644 (file)
@@ -1153,18 +1153,10 @@ void doPass(const Options& opts, ld::Internal& state)
                                state.addAtom(*new ObjCImageInfoAtom<x86>(state.objcObjectConstraint, compaction, 
                                                        state.hasObjcReplacementClasses, opts.objCABIVersion2POverride() ? true : false));
                                break;
-                       case CPU_TYPE_POWERPC:
-                               state.addAtom(*new ObjCImageInfoAtom<ppc>(state.objcObjectConstraint, compaction, 
-                                                       state.hasObjcReplacementClasses, false));
-                               break;
                        case CPU_TYPE_ARM:
                                state.addAtom(*new ObjCImageInfoAtom<arm>(state.objcObjectConstraint, compaction, 
                                                        state.hasObjcReplacementClasses, true));
                                break;
-                       case CPU_TYPE_POWERPC64:
-                               state.addAtom(*new ObjCImageInfoAtom<ppc64>(state.objcObjectConstraint, compaction, 
-                                                       state.hasObjcReplacementClasses, true));
-                               break;
                        default:
                                assert(0 && "unknown objc arch");
                }       
@@ -1185,9 +1177,6 @@ void doPass(const Options& opts, ld::Internal& state)
                                // disable optimization until fully tested
                                //OptimizeCategories<arm>::doit(opts, state);
                                break;
-                       case CPU_TYPE_POWERPC64:
-                       case CPU_TYPE_POWERPC:
-                               break;
                        default:
                                assert(0 && "unknown objc arch");
                }