diff --git a/mach/vc4/as/mach5.c b/mach/vc4/as/mach5.c index a2227fd5e..de2bda2ad 100644 --- a/mach/vc4/as/mach5.c +++ b/mach/vc4/as/mach5.c @@ -383,7 +383,7 @@ static void branch_addcmp_common(quad opcode, int bits, struct expr_t* expr) quad type = expr->typ & S_TYP; int d; - if (type != DOTTYP) + if ((pass>0) && (type != DOTTYP)) serror("can't use this type of branch to jump outside the section"); /* The VC4 branch instructions express distance in 2-byte