]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Make truss work for CloudABI executables on i386.
authored <ed@FreeBSD.org>
Thu, 21 Dec 2017 09:21:40 +0000 (09:21 +0000)
committered <ed@FreeBSD.org>
Thu, 21 Dec 2017 09:21:40 +0000 (09:21 +0000)
commitf9146e4251363471212df46cdb7eaa07ccf17d09
tree48e085820ef0cebc7167d1f66c12f9f63717ad06
parentcf8a25e82e02b8153437ebce0ecf6e12443615be
Make truss work for CloudABI executables on i386.

The system call convention is different from i386 binaries running on
FreeBSD/amd64, but this is not noticeable by executables. On
FreeBSD/amd64, the vDSO already does padding of arguments and return
values to 64-bit values. On i386, it does not, meaning that system call
return values are simply stored in registers.
usr.bin/truss/Makefile
usr.bin/truss/i386-cloudabi32.c [new file with mode: 0644]