Linker
VladisM opened this issue · 3 comments
VladisM commented
There is bug in linker somewhere. In one file I have
.IMPORT main
CALL main
in second file
.EXPORT main
main:
linker is not able to deal with this properly.
VladisM commented
It's look like imported labels are not marked for relocation.
VladisM commented
bug.tar.gz
These are files to reproduce bug. Compile it by typing make
. In final ldm file should be second line set to True. This last column control relocation for loaders.
VladisM commented
Fixed. Hope I didn't destroy anything else. It is pretty old code.