Date: Sat, 28 Jul 2007 23:15:04 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/truss i386-fbsd.c powerpc-fbsd.c syscalls.c Message-ID: <200707282315.l6SNF4M9006973@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2007-07-28 23:15:04 UTC
FreeBSD src repository
Modified files:
usr.bin/truss i386-fbsd.c powerpc-fbsd.c syscalls.c
Log:
Fix handling of Quad-type arguments. Previously, syscalls
containing 64-bit arguments would have explicit padding.
On 64-bit platforms there was no padding, so the dummy
argument was not covering anything. On 32-bit platforms
with weak alignment (i.e. i386) the 64-bit argument did
not need to be aligned, so there too an aditional argument
was introduced. On 32-bit platforms with strong alignment
(i.e. PowerPC) the dummy argument in fact cover the padding.
By elimininating the dummy argument, 64-bit platforms now
have 1 argument less. This also applies to 32-bit platforms
with weak alignment. On PowerPC this doesn't matter, because
the padding is still there. We just don't "name" it.
Deal with those 3 cases.
Approved by: re (kensmith)
Revision Changes Path
1.29 +1 -1 src/usr.bin/truss/i386-fbsd.c
1.4 +3 -0 src/usr.bin/truss/powerpc-fbsd.c
1.54 +18 -10 src/usr.bin/truss/syscalls.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707282315.l6SNF4M9006973>
