mirror of
https://github.com/DoctorWkt/unix-jun72.git
synced 2026-01-13 15:27:49 +00:00
- updated based on assemv7
This commit is contained in:
parent
709ecd397a
commit
62c98d5ab8
16
tools/assem
16
tools/assem
@ -6,6 +6,7 @@
|
||||
# settings
|
||||
APOUT=/tmp/apout2.3alpha2/apout
|
||||
APOUT_ROOT=/tmp/s2
|
||||
COLD=1
|
||||
|
||||
export APOUT_ROOT
|
||||
|
||||
@ -18,10 +19,19 @@ tools/rebuild
|
||||
test -d build || mkdir build
|
||||
for f in rebuilt/u?.s ; do
|
||||
b=`basename $f`
|
||||
sed -e 's/mount/xmount/g' \
|
||||
-e 's/.*init by copy.*/4;4;unkni;0;fpsym;0/' < $f > build/$b
|
||||
if [ $COLD = 1 ] ; then
|
||||
sed -e 's/.*init by copy.*/4;4;unkni;0;fpsym;0/' \
|
||||
-e 's/mount/xmount/' \
|
||||
-e 's/gtty/xgtty/' \
|
||||
-e 's/cold = 0/cold = 1/' < $f > build/$b
|
||||
else
|
||||
sed -e 's/.*init by copy.*/4;4;unkni;0;fpsym;0/' \
|
||||
-e 's/mount/xmount/' < $f > build/$b
|
||||
fi
|
||||
done
|
||||
|
||||
cd build
|
||||
$APOUT $APOUT_ROOT/bin/as - u?.s
|
||||
$APOUT $APOUT_ROOT/bin/as ../sys1.s u?.s
|
||||
$APOUT $APOUT_ROOT/bin/nm a.out |sort > a.out.syms
|
||||
../tools/ml
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user