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__


On Thu, Mar 3, 2016 at 9:01 AM, Paul Pluzhnikov <ppluzhnikov@google.com> wrote:
> On Thu, Mar 3, 2016 at 12:30 AM, Andreas Schwab <schwab@suse.de> wrote:
>> Paul Pluzhnikov <ppluzhnikov@google.com> writes:
>>
>>> Using CALL_MCOUNT in implementation of _mcount isn't going to end well.
>>
>> _mcount needs to be arranged to be compiled without PROF, like the
>> noprof routines in gmon/Makefile.
>
> Done by HJ in commit 87a07a437656aede6f303688b55ae1834962bee2.
>
> Updated patch attached. Tested on Linux/x86_64.
>
> Thanks,
>
> 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
>
>         [BZ #19490]
>         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
>         (__fentry__): Likewise
>

Hi Andi,

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

-- 
H.J.


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