]> git.saurik.com Git - apple/ld64.git/blobdiff - src/ld/passes/dtrace_dof.cpp
ld64-128.2.tar.gz
[apple/ld64.git] / src / ld / passes / dtrace_dof.cpp
index f847cc009fc3f8bc722ac28d67b25fe884e3a89d..665e3ae3861072c1151bfd946ff6303855cb292f 100644 (file)
@@ -143,13 +143,11 @@ void doPass(const Options& opts, ld::Internal& internal)
                        for (ld::Fixup::iterator fit = atom->fixupsBegin(), end=atom->fixupsEnd(); fit != end; ++fit) {
                                switch ( fit->kind ) {
                                        case ld::Fixup::kindStoreX86DtraceCallSiteNop:
                        for (ld::Fixup::iterator fit = atom->fixupsBegin(), end=atom->fixupsEnd(); fit != end; ++fit) {
                                switch ( fit->kind ) {
                                        case ld::Fixup::kindStoreX86DtraceCallSiteNop:
-                                       case ld::Fixup::kindStorePPCDtraceCallSiteNop:
                                        case ld::Fixup::kindStoreARMDtraceCallSiteNop:
                                        case ld::Fixup::kindStoreThumbDtraceCallSiteNop:
                                                probeSites.push_back(DTraceProbeInfo(atom, fit->offsetInAtom, fit->u.name));
                                                break;
                                        case ld::Fixup::kindStoreX86DtraceIsEnableSiteClear:
                                        case ld::Fixup::kindStoreARMDtraceCallSiteNop:
                                        case ld::Fixup::kindStoreThumbDtraceCallSiteNop:
                                                probeSites.push_back(DTraceProbeInfo(atom, fit->offsetInAtom, fit->u.name));
                                                break;
                                        case ld::Fixup::kindStoreX86DtraceIsEnableSiteClear:
-                                       case ld::Fixup::kindStorePPCDtraceIsEnableSiteClear:
                                        case ld::Fixup::kindStoreARMDtraceIsEnableSiteClear:
                                        case ld::Fixup::kindStoreThumbDtraceIsEnableSiteClear:
                                                isEnabledSites.push_back(DTraceProbeInfo(atom, fit->offsetInAtom, fit->u.name));
                                        case ld::Fixup::kindStoreARMDtraceIsEnableSiteClear:
                                        case ld::Fixup::kindStoreThumbDtraceIsEnableSiteClear:
                                                isEnabledSites.push_back(DTraceProbeInfo(atom, fit->offsetInAtom, fit->u.name));
@@ -170,10 +168,6 @@ void doPass(const Options& opts, ld::Internal& internal)
        
        ld::Fixup::Kind storeKind = ld::Fixup::kindNone;
        switch ( opts.architecture() ) {
        
        ld::Fixup::Kind storeKind = ld::Fixup::kindNone;
        switch ( opts.architecture() ) {
-               case CPU_TYPE_POWERPC:
-               case CPU_TYPE_POWERPC64:
-                       storeKind = ld::Fixup::kindStoreBigEndian32;
-                       break;
                case CPU_TYPE_I386:
                case CPU_TYPE_X86_64:
                case CPU_TYPE_ARM:
                case CPU_TYPE_I386:
                case CPU_TYPE_X86_64:
                case CPU_TYPE_ARM: