[committed] Return to caller when _dl_fixup fails on hppa
John David Anglin
dave.anglin@bell.net
Sun Jul 16 19:46:00 GMT 2017
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
More information about the Libc-alpha
mailing list