From: Daniel Jacobowitz <dan@debian.org>
To: Yoriko Komatsuzaki <yoriko@sm.sony.co.jp>,
Chris Friesen <cfriesen@nortel.com>
Cc: libc-ports <libc-ports@sourceware.org>, linux-mips@linux-mips.org
Subject: Re: do-lookup.h regarding to mips/dlsym and libstdc++
Date: Wed, 2 Jul 2008 08:47:22 -0400 [thread overview]
Message-ID: <20080702124722.GA15301@caradoc.them.org> (raw)
In-Reply-To: <483AF8BC.7020603@nortel.com> <20080129132739.5D6B.YORIKO@sm.sony.co.jp>
On Tue, Jan 29, 2008 at 01:32:20PM +0900, Yoriko Komatsuzaki wrote:
> Because even though UNDEF symbol is found,
> it can process as global symbol for the rare occasion.
>
> This phenomena is showed only in mips. When libstdc++ is linked in
> proior libc, the malloc's entry in libstdc++ MIPS.stubs table seemed to
> be recognized as the malloc global symbol ...
>
> How do you feel about it?
On Mon, May 26, 2008 at 11:51:56AM -0600, Chris Friesen wrote:
> On MIPS, the DEFAULT returns the address of this libraries undefined
> symbol for the extern and NEXT returns our external procedure. Putting
> in a second RTLD_NEXT call returned the real sigaction address.
>
> This worked for most procedures we are looking for. However, during
> booting, we have an app that uses a specific library which has an extern
> for sigaction as well and now in the preloaded code we need a fourth call
> to dlsym to skip that one.
Hi folks,
This bug is fixed as a by-product of support for non-PIC MIPS
executables. Either Richard's patch or CodeSourcery's, applied to
glibc, should suffice. It'll be another week or two at least before
they're applied to CVS, but in the mean time you can find them here:
http://sourceware.org/ml/binutils/2008-06/msg00280.html
http://sourceware.org/ml/binutils/2008-07/msg00008.html
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2008-07-02 12:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-26 17:51 problems with dlsym() on MIPS, looking for advice Chris Friesen
[not found] ` <20080129132739.5D6B.YORIKO@sm.sony.co.jp>
2008-07-02 12:47 ` Daniel Jacobowitz [this message]
2008-07-03 5:05 ` do-lookup.h regarding to mips/dlsym and libstdc++ Yoriko Komatsuzaki
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=20080702124722.GA15301@caradoc.them.org \
--to=dan@debian.org \
--cc=cfriesen@nortel.com \
--cc=libc-ports@sourceware.org \
--cc=linux-mips@linux-mips.org \
--cc=yoriko@sm.sony.co.jp \
/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