only emit aborting function stubs on undefined symbols in asm mode