This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]