Date: Sat, 2 Jun 2018 09:59:27 +0000 (UTC) From: Bruce Evans <bde@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r334528 - head/sys/i386/include Message-ID: <201806020959.w529xRCg045876@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bde Date: Sat Jun 2 09:59:27 2018 New Revision: 334528 URL: https://svnweb.freebsd.org/changeset/base/334528 Log: Oops, the last minute reduction in the clobber list for i386 MCOUNT_OVERHEAD() in r334522 was too agressive. Only mcount exit preserves %eax and %edx. Modified: head/sys/i386/include/profile.h Modified: head/sys/i386/include/profile.h ============================================================================== --- head/sys/i386/include/profile.h Sat Jun 2 08:46:09 2018 (r334527) +++ head/sys/i386/include/profile.h Sat Jun 2 09:59:27 2018 (r334528) @@ -64,7 +64,7 @@ __asm __volatile("pushl %0; call __mcount; popl %%ecx" \ : \ : "i" (label) \ - : "cx", "memory") + : "ax", "dx", "cx", "memory") #define MEXITCOUNT_OVERHEAD() \ __asm __volatile("call .mexitcount; 1:" \ : : \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806020959.w529xRCg045876>