[PATCH][BZ #19490] Add unwind descriptors for x86_64 _mcount and __fentry__

Andi Kleen andi@firstfloor.org
Thu Mar 3 18:29:00 GMT 2016


> Why do we need __fentry__ different from _mcount in glibc? Can we
> make __fentry__  an alias of _mcount?

The stack frame is different, and mcount needs to look at the
stack frame. mcount is after the frame pointer, __fentry__ before.

-Andi

-- 
ak@linux.intel.com -- Speaking for myself only.



More information about the Libc-alpha mailing list