diff --git a/irdb-libs/ir_builders/fix_calls.cpp b/irdb-libs/ir_builders/fix_calls.cpp index 10fa9bdc02de92c0e260ba0a113ecfcbff76f678..a4f027b89283abeb991c71c6cb16b22ec77ae107 100644 --- a/irdb-libs/ir_builders/fix_calls.cpp +++ b/irdb-libs/ir_builders/fix_calls.cpp @@ -502,7 +502,8 @@ class FixCalls_t : public TransformStep_t void fix_call(Instruction_t* insn, FileIR_t *firp, bool can_unpin) { // doesn't work for ARM64 yet. - if(firp->getArchitecture()->getMachineType()==admtAarch64) + const auto mt = firp->getArchitecture()->getMachineType(); + if( mt == admtAarch64 || mt == admtArm32) return; /* record the possibly new indirect branch target if this call gets fixed */