public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
From: Steve Munroe <sjmunroe@us.ibm.com>
To: Jakub Jelinek <jakub@redhat.com>
Cc: Ulrich Drepper <drepper@redhat.com>,
	Glibc hackers <libc-hacker@sources.redhat.com>,
	libc-hacker-owner@sourceware.org
Subject: Re: [PATCH] Fix tst-addr1 on ppc64 and ia64
Date: Thu, 31 Aug 2006 15:56:00 -0000	[thread overview]
Message-ID: <OFB91F90C4.0EB126ED-ON862571DB.00571B32-862571DB.00573C73@us.ibm.com> (raw)
In-Reply-To: <20060831153800.GQ4556@sunsite.mff.cuni.cz>



Jakub Jelinek <jakub@redhat.com> wrote on 08/31/2006 10:38:00 AM:

> Hi!
>
> On ppc64 and ia64 &printf is put into GOT, so the SHN_UNDEF printf
> symbol has zero st_value and thus dladdr (&printf, ...) returns
> a symbol in libc.so.  But, unfortunately, in libc.so _IO_printf
> is an alias to printf, both are global symbols and have the same
> address and size.  Which one comes first in the hash table depends
> on the linker.
>

Thanks I have been scratching my head over that one :)

Steven J. Munroe

      reply	other threads:[~2006-08-31 15:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-31 15:38 Jakub Jelinek
2006-08-31 15:56 ` Steve Munroe [this message]

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=OFB91F90C4.0EB126ED-ON862571DB.00571B32-862571DB.00573C73@us.ibm.com \
    --to=sjmunroe@us.ibm.com \
    --cc=drepper@redhat.com \
    --cc=jakub@redhat.com \
    --cc=libc-hacker-owner@sourceware.org \
    --cc=libc-hacker@sources.redhat.com \
    /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).