Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Aleksandar Ristovski <aristovski@qnx.com>
Cc: Pedro Alves <pedro@codesourcery.com>, gdb-patches@sources.redhat.com
Subject: Re: [patch] solib do not add ldd if in libc
Date: Tue, 21 Jul 2009 18:13:00 -0000	[thread overview]
Message-ID: <20090721180820.GA11667@caradoc.them.org> (raw)
In-Reply-To: <4A65DAB3.1040803@qnx.com>

On Tue, Jul 21, 2009 at 11:11:47AM -0400, Aleksandar Ristovski wrote:
> I, unfortunately, can not verify that it doesn't break solaris... I
> think it doesn't, but I couldn't test it (AFAIK, solaris has dynamic
> linker in a separate shared library and so it should not be found in
> the so list, but I don't have Solaris to verify this).

You'll break Linux with prelinking; lm_addr is an offset, so on a
prelinked system everything ought to load with offset zero.

Also, by clearing both lm and ldsomap, you cause this check to run
over and over again instead of just once.  IIRC you can leave ldsomap
set.

-- 
Daniel Jacobowitz
CodeSourcery


  reply	other threads:[~2009-07-21 18:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-07 16:11 Aleksandar Ristovski
2009-07-07 17:44 ` Aleksandar Ristovski
2009-07-21 15:40   ` Aleksandar Ristovski
2009-07-21 18:13     ` Daniel Jacobowitz [this message]
2009-07-20 14:09 ` Pedro Alves

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=20090721180820.GA11667@caradoc.them.org \
    --to=drow@false.org \
    --cc=aristovski@qnx.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=pedro@codesourcery.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