Browse Source

fix: did not handle externals with big HOL offsets right

ceriel 37 years ago
parent
commit
3cd5074594
1 changed files with 7 additions and 0 deletions
  1. 7 0
      util/ego/ic/ic.c

+ 7 - 0
util/ego/ic/ic.c

@@ -342,6 +342,13 @@ line_p readoperand(instr)
 #ifdef LONGOFF
 		case CSTX2:
 			/* double constant */
+			if (flag == PAR_G) {
+				lnp = newline(OPOBJECT);
+				OBJ(lnp) =
+				  object((char *) 0, tabval2,
+					 opr_size(instr));
+				break;
+			}
 			lnp = newline(OPOFFSET);
 			OFFSET(lnp) = tabval2;
 			break;