Add initial cut for freebsd start code.

	Mostly, we use %rdi instead of %rsp for the args.
Merge remote-tracking branch 'origin/freebsd-port'
more modifications for FreeBSD port