From 8230ec42ac46965215f31f29f158c4b2b6a21d9c Mon Sep 17 00:00:00 2001 From: David Given Date: Tue, 11 Sep 2018 23:16:30 +0200 Subject: [PATCH] Fix a subtle thinko which was causing bits 2-3 of jump targets to be reset. --- mach/mips/as/mach4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mach/mips/as/mach4.c b/mach/mips/as/mach4.c index c7f158234..6208fff9d 100644 --- a/mach/mips/as/mach4.c +++ b/mach/mips/as/mach4.c @@ -174,7 +174,7 @@ abs26 serror("jump targets must be 4-aligned"); newrelo($1.typ, RELOMIPS | FIXUPFLAGS); - $$ = (target >> 2) & 0x03fffffd; + $$ = (target >> 2) & 0x03ffffff; } ;