This is the mail archive of the
mailing list for the glibc project.
Re: [PATCH] i386: Replace internal_function attribute for __mcount_internal
On 08/15/2017 02:22 PM, Andreas Schwab wrote:
> On Aug 15 2017, Florian Weimer <firstname.lastname@example.org> wrote:
>> On 08/15/2017 01:55 PM, Andreas Schwab wrote:
>>> On Aug 15 2017, Florian Weimer <email@example.com> wrote:
>>>> See --enable-profile. -pg should pick up the profiling libc on systems
>>>> where it is installed.
>>> -pg doesn't do that, -profile does.
>> All the better. But I don't have to link with -pg after all, at least
>> not on the targets I tested.
> You need -pg for the startup file.
-pg will use the system startup file, so we can't use that. We need to
link against our own startup file, just like we do for non-profiled