}
// Write requested object file...
- switch (obj_format)
- {
- case BSD:
+ if (obj_format==BSD || (obj_format==ALCYON && prg_flag==0))
+ {
if (verb_flag)
{
printf("Total : %d bytes\n", sect[TEXT].sloc + sect[DATA].sloc + sect[BSS].sloc);
if (buf)
free(buf); // Free allocated memory
- break;
-
- case ALCYON:
+ }
+ else if (obj_format==ALCYON)
+ {
if (verb_flag)
{
if (prg_flag)
*/
tds = markimg(buf, tds, sect[TEXT].sloc, 1);
write(fd, buf, tds);
- break;
}
return 0;