public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: John David Anglin <dave.anglin@bell.net>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: GNU C Library <libc-alpha@sourceware.org>,
	Carlos O'Donell <carlos@systemhalted.org>
Subject: Re: [committed] Return to caller when _dl_fixup fails on hppa
Date: Sun, 16 Jul 2017 19:46:00 -0000	[thread overview]
Message-ID: <140DEBFA-778E-4912-853A-74DE078A95F5@bell.net> (raw)
In-Reply-To: <87r2xggqnr.fsf@linux-m68k.org>

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



  reply	other threads:[~2017-07-16 19:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-16 17:50 John David Anglin
2017-07-16 18:53 ` Andreas Schwab
2017-07-16 19:46   ` John David Anglin [this message]
2017-07-16 21:31     ` Andreas Schwab
2017-07-16 22:02       ` John David Anglin
2017-07-17  7:10         ` Andreas Schwab
2017-07-17 11:11           ` Carlos O'Donell
2017-07-17 11:52             ` John David Anglin
2017-07-23 23:58             ` John David Anglin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=140DEBFA-778E-4912-853A-74DE078A95F5@bell.net \
    --to=dave.anglin@bell.net \
    --cc=carlos@systemhalted.org \
    --cc=libc-alpha@sourceware.org \
    --cc=schwab@linux-m68k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).