bug fix: far calls+jumps with address prefix were wrong
authorceriel <none@none>
Mon, 19 Feb 1990 09:06:16 +0000 (09:06 +0000)
committerceriel <none@none>
Mon, 19 Feb 1990 09:06:16 +0000 (09:06 +0000)
mach/i386/as/mach4.c

index c5cb214..dec6708 100644 (file)
@@ -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