Add better support for FreeBSD on non-x86 machines. Add specific support for FreeBSD on sparc64. PR: 427