X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=blobdiff_plain;f=object.c;h=2148b5f054891351f9bcfdb94d8d1c0b9185e926;hp=9a750ddaa6c638978e25447a081d84cb3165cae3;hb=3385b366632d03745033fa6b19faabf60219bc6b;hpb=d09274f3e3d4dca122c308a621ea8edc100b7d99;ds=sidebyside diff --git a/object.c b/object.c index 9a750dd..2148b5f 100644 --- a/object.c +++ b/object.c @@ -133,6 +133,7 @@ int object(WORD fd) // Construct TEXT and DATA segments (without relocation changes) p = buf + BSDHDRSIZE; + for(i=TEXT; i<=DATA; ++i) { for(cp=sect[i].sfcode; cp!=NULL; cp=cp->chnext)