]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Unify i386 and amd64 getcontextx.c, and use ifuncs while there.
authorkib <kib@FreeBSD.org>
Thu, 14 Feb 2019 14:02:33 +0000 (14:02 +0000)
committerkib <kib@FreeBSD.org>
Thu, 14 Feb 2019 14:02:33 +0000 (14:02 +0000)
commit4b862c581283d9a9b87fa45d5bb6bc590ca1054f
treeb99bba11f355e42a290793b4160867d0c561b137
parent43fc0527ddb13668d4894705db22ef36d3805ea0
Unify i386 and amd64 getcontextx.c, and use ifuncs while there.

In particular, use ifuncs for __getcontextx_size(), also calculate the
size of the extended save area in resolver.  Same for __fillcontextx2().

Sponsored by: The FreeBSD Foundation
MFC after: 1 week
lib/libc/Makefile
lib/libc/amd64/gen/Makefile.inc
lib/libc/i386/gen/Makefile.inc
lib/libc/i386/gen/getcontextx.c [deleted file]
lib/libc/x86/gen/Makefile.inc [new file with mode: 0644]
lib/libc/x86/gen/getcontextx.c [moved from lib/libc/amd64/gen/getcontextx.c with 62% similarity]