[PATCH] Introduce <gmon-entry.h> to define TEXT_START for csu/gmon-start.c

Florian Weimer fweimer@redhat.com
Sun Dec 5 07:22:04 GMT 2021


* H. J. Lu via Libc-alpha:

> On Sat, Dec 4, 2021 at 1:14 PM Florian Weimer <fweimer@redhat.com> wrote:
>>
>> * H. J. Lu:
>>
>> > Can we drop TEXT_START and always use __executable_start?
>>
>> Why wasn' this part
>>
>> > commit 84a7eb1f87c1d01b58ad887a0ab5d87abbc1c772
>> > Author: H.J. Lu <hjl.tools@gmail.com>
>> > Date:   Fri Jul 30 19:07:30 2021 -0700
>> >
>> >     Use __executable_start as the lowest address for profiling [BZ #28153]
>>
>> of this commit?
>>
>> I want to make a conservative change here.
>>
>
> Using TEXT_START as the lowest address has been wrong for more than 10
> years.  We should drop it now.

It seems to work.  I'm going to run a few mor tests.

Thanks,
Florian



More information about the Libc-alpha mailing list