Just add "_main" after the base name of the program.
For example, the entry point routine for wddebug.out is wddebug_main and the entry point routine for pci_dump.out ispci_dump_main.