add -P flag to 5l to produce proper flat binaries

This commit is contained in:
aiju 2011-11-05 09:48:29 +01:00
parent abc602e191
commit c8524f52ad

View file

@ -77,6 +77,11 @@ asmb(void)
curtext = P; curtext = P;
switch(HEADTYPE) { switch(HEADTYPE) {
case 0: case 0:
if(debug['P']){
OFFSET = rnd(textsize, INITRND);
seek(cout, OFFSET, 0);
break;
}
case 1: case 1:
case 2: case 2:
case 5: case 5: