xbin/comp_rel
raw| 1 | #!/bin/sh |
| 2 | FILE=$1 |
| 3 | KCL=${HOME}/akcl/unixport/saved_kcl |
| 4 | # the (start address) you observe while running stand alone. |
| 5 | ADDR=92000 |
| 6 | ld -d -N -x -A ${KCL} -R 92000 $1 -o /tmp/ldtest |
| 7 | a.out $1 ${HOME}/akcl/unixport/saved_kcl ${HOME}/akcl/unixport/ |
| 8 | if |
| 9 | comp /tmp/ldtest /tmp/sfasltest |
| 10 | then |
| 11 | echo $1 differed |
| 12 | else |
| 13 | echo $1 ok |
| 14 | fi |
| 15 | |
| 16 |