Added modula, -L was passed twice to peephole optimizer

This commit is contained in:
ceriel 1987-05-20 14:51:02 +00:00
parent e0694e88a2
commit 479d45d2d9
2 changed files with 6 additions and 3 deletions

View file

@ -158,7 +158,7 @@ name opt2
from .gk
to .g
program {EM}/lib/em_opt2
mapflag -LIB OPT_F={OPT_F?} -L
# mapflag -LIB OPT_F={OPT_F?} -L
args {OPT_F?} <
optimizer
stdout

View file

@ -22,11 +22,14 @@ name asld
mapflag --* ASS_F={ASS_F?} --*
mapflag -s* SIZE_FLAG=-s*
args {SIZE_FLAG} \
({RTS}:.ocm.b.c={EM}/{RT}cc) ({RTS}:.p={EM}/{RT}pc) -o > < \
({RTS}:.ocm.b.c={EM}/{RT}cc) \
({RTS}:.mod={EM}/{RT}m2) \
({RTS}:.p={EM}/{RT}pc) -o > < \
(.p:{TAIL}={EM}/{LIB}pc) \
(.b:{TAIL}={EM}/{LIB}bc) \
(.ocm:{TAIL}={EM}/{LIB}ocm) \
(.mod:{TAIL}={EM}/{LIB}m2) \
(.ocm.b.c:{TAIL}={EM}/{LIB}cc.1s {EM}/{LIB}cc.2g) \
(.ocm.b.c.p:{TAIL}={EM}/{LIB}mon)
(.mod.ocm.b.c.p:{TAIL}={EM}/{LIB}mon)
linker
end