From 8bfbe723db38b786b6c4937034f8e3be66b97ad6 Mon Sep 17 00:00:00 2001 From: ceriel Date: Mon, 19 Feb 1990 09:06:16 +0000 Subject: [PATCH] bug fix: far calls+jumps with address prefix were wrong --- mach/i386/as/mach4.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/mach/i386/as/mach4.c b/mach/i386/as/mach4.c index c5cb214bc..dec67080b 100644 --- a/mach/i386/as/mach4.c +++ b/mach/i386/as/mach4.c @@ -56,10 +56,7 @@ oper : NOOP_1 { callop($1&0xFFFF);} | CALFOP expr ':' expr { emit1($1>>8); -#ifdef RELOCATION - newrelo($4.typ, RELO4); -#endif - emit4((long)($4.val)); + adsize_exp($4, 0); #ifdef RELOCATION newrelo($2.typ, RELO2); #endif -- 2.34.1