1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-27 11:55:06 +00:00

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.
This commit is contained in:
Bruce Evans 2018-06-02 09:59:27 +00:00
parent b274c68a20
commit d10566cf49
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=334528

View File

@ -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:" \
: : \