Konstantin Belousov 3e0ddb6781 Do not leak %rdx value in the previous image to the new image after
execve(2). Note that ia32 binaries already handle this properly,
since ia32_setregs() resets td_retval[1], but not exec_setregs().

We still do not conform to the amd64 ABI specification, since %rsp
on the image startup is not aligned to 16 bytes.

PR:	amd64/124134
Discussed with:	Petr Salinger <Petr.Salinger seznam cz>
	(who convinced me that there is indeed several bugs)
MFC after:	1 week
2010-12-06 15:15:27 +00:00
..
2010-12-06 10:24:06 +00:00
2010-11-27 15:41:44 +00:00
2010-07-12 10:18:10 +00:00
2010-12-06 10:24:06 +00:00
2010-12-06 10:24:06 +00:00
2010-11-09 10:59:09 +00:00
2010-12-05 10:15:23 +00:00
2010-12-04 17:41:58 +00:00