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: [committed] Return to caller when _dl_fixup fails on hppa


On 2017-07-16, at 2:52 PM, Andreas Schwab wrote:

> On Jul 16 2017, John David Anglin <dave.anglin@bell.net> wrote:
> 
>> The most problematic function in this regard is __gmon_start__.
> 
> The caller needs to check for NULL before calling it.


That's assumed.  However, it doesn't work on hppa.  The caller has access to a non NULL pointer
to a function descriptor.  In the typical case with deferred binding, the function pointer is not resolved
until _dl_fixup is called.

Dave
--
John David Anglin	dave.anglin@bell.net




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