CS304P6/ld> make test1
rm -f *ob *ex *lst
rm -rf date.c date.o
../lib/makedate
gcc -c date.c
gcc -c -g -Wall ldreloc.c
ldreloc.c: In function ‘perform_reloc’:
ldreloc.c:107: warning: unused variable ‘last_tab’
gcc -g -Wall -o ./wmld ldmain.o ldutils.o ldresolv.o date.o ldreloc.o -L../lib -lba -lba -L../ar \
-lwmar -lwmar
rm -f date.o
./wmcc -c main.cm
Pcode and tables are stored in main.bob
Compilation listing is stored in main.lst
./wmbtoa main.bob
Converted ASCII PCODE file stored in main.aob
./wmcc -c max.cm
Pcode and tables are stored in max.bob
Compilation listing is stored in max.lst
./wmbtoa max.bob
Converted ASCII PCODE file stored in max.aob
./link2 ./wmld main max _1
Executing "./wmld -o mainmax_1 main.bob max.bob"
Output link file stored in mainmax_1.bex
Converted ASCII PCODE file stored in mainmax_1.aex
Executing "./wmld -o maxmain_1 max.bob main.bob"
Output link file stored in maxmain_1.bex
Converted ASCII PCODE file stored in maxmain_1.aex
./check2 main max _1
---------------------------------------
W&M PCODE Relocation Checker 09:16 5 Dec 2005
Checking relocation information in mainmax_1.bex
---------------------------------------
Code segment error:
instruction of mainmax_1.bex at location 2 is 0100ffff, not 0100007d
Code segment error:
instruction of mainmax_1.bex at location 11 is 0100ffff, not 0100007d
Code segment error:
instruction of mainmax_1.bex at location 1b is 0100ffff, not 0100007d
Code segment error:
instruction of mainmax_1.bex at location 27 is 0100ffff, not 01000000
Relocation table error:
item 1 of mainmax_1.bex is 03020002, not 02000002
Relocation table error:
item 8 of mainmax_1.bex is 03020011, not 02000011
Relocation table error:
item 12 of mainmax_1.bex is 0302001b, not 0200001b
Relocation table error:
item 16 of mainmax_1.bex is 03030027, not 02000027
==========================
Table errors seen
--------------------------
code 4
symbol 0
data 0
relocation 4
==========================
---------------------------------------
W&M PCODE Relocation Checker 09:16 5 Dec 2005
Checking relocation information in maxmain_1.bex
---------------------------------------
Code segment error:
instruction of maxmain_1.bex at location 2 is 0100ffff, not 0100002c
Code segment error:
instruction of maxmain_1.bex at location 24 is 0100ffff, not 01000000
Code segment error:
instruction of maxmain_1.bex at location 33 is 0100ffff, not 01000000
Code segment error:
instruction of maxmain_1.bex at location 37 is 0000004d, not 00000079
Code segment error:
instruction of maxmain_1.bex at location 39 is 01000000, not 0100002c
Code segment error:
instruction of maxmain_1.bex at location 3b is 00000066, not 00000092
Code segment error:
instruction of maxmain_1.bex at location 3d is 0100ffff, not 01000000
Code segment error:
instruction of maxmain_1.bex at location 3f is 00000068, not 00000094
Code segment error:
instruction of maxmain_1.bex at location 43 is 0000006d, not 00000099
Relocation table error:
last index of relocation table of maxmain_1.bex 15, not 22
Evaluation of relocation table of maxmain_1.bex must be terminated
==========================
Table errors seen
--------------------------
code 9
symbol 0
data 0
relocation 1
==========================
CS304P6/ld>