This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: dl-load.c suggestion
- To: Roland McGrath <roland@frob.com>, Richard Henderson <rth@cygnus.com>
- Subject: Re: dl-load.c suggestion
- From: Richard Henderson <rth@cygnus.com>
- Date: Sat, 23 May 1998 01:29:03 -0700
- Cc: Ulrich Drepper <drepper@cygnus.com>, GNU libc hacker <libc-hacker@gnu.org>
- References: <19980522214607.A32694@dot.cygnus.com> <199805230614.CAA24354@baalperazim.frob.com>
- Reply-To: Richard Henderson <rth@cygnus.com>
On Sat, May 23, 1998 at 02:14:19AM -0400, Roland McGrath wrote:
> The point is that the load address of the object
> as a whole can be arbitrary, but all the segments must be at constant
> distances from the other segments.
Yes, but that constant runtime difference bears no necessary
relationship to the positions they occupy in the file. In
the bit I cited from ls, the text and data segments are adjacent
in the file, while they are a megabyte apart at runtime.
r~