Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: David Anderson <davea@quasar.engr.sgi.com>
To: gdb@sources.redhat.com
Subject: Re: relocation of shared libs not based at 0
Date: Tue, 17 Dec 2002 13:39:00 -0000	[thread overview]
Message-ID: <200212172138.NAA17062@quasar.engr.sgi.com> (raw)

"Kris Warkentin" <kewarken@qnx.com> writes:
>Can anyone with more knowledge than I enlighten me as to a) whether it is
>proper to allow shared objects to be non zero-based and b) a better way to
>do this.  I looked at putting it in solib-svr4.c but I don't have access to
>the bfd in there, at least in svr4_relocate_section_addresses().

While I cannot speak for gdb requirements, I can say
that there is no requirement in generic-SYSV that shared
objects start at a zero address.

SGI IRIX (which is SYSV based) has never used zero as the base
address for shared objects, but always pre-assigns a non-zero
base address at static link time (intending that the shared
object will start up faster if it can run at that address).

Regards
David B. Anderson davea@sgi.com http://reality.sgiweb.org/davea
[  "What could go wrong?"   -- Calvin  ]


             reply	other threads:[~2002-12-17 21:39 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-17 13:39 David Anderson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-01-05 17:39 Paul Koning
2004-01-09 22:48 ` Kevin Buettner
2003-02-12 18:37 Peter van der Veen
2002-12-17 12:23 Kris Warkentin
2002-12-17 12:31 ` Paul Koning
2002-12-17 13:36   ` Kris Warkentin
2002-12-17 16:28 ` Kevin Buettner
2002-12-17 16:47   ` Paul Koning
2003-01-08 21:52     ` Kris Warkentin
2003-01-08 22:24       ` Kevin Buettner
2003-01-09 14:35         ` Colin Burgess
2003-01-09 15:06           ` Kris Warkentin
2003-02-05 18:40       ` Paul Koning
2003-02-05 19:08         ` Kris Warkentin
2003-02-05 19:11         ` Kevin Buettner
2003-02-10 21:45           ` Paul Koning
2003-02-12 18:06             ` Kevin Buettner
2003-02-12 18:19               ` Kris Warkentin

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=200212172138.NAA17062@quasar.engr.sgi.com \
    --to=davea@quasar.engr.sgi.com \
    --cc=gdb@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