sunos_exec_aout_makecmds() in machdep.c for various architectures and put it in exec_conf.c like the other emulations; rename exec.h to sunos_exec.h.