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

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