From c6168eeda60e43c3b05522615d0f95df7f33223e 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 c5cb214b..dec67080 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