Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Feb 1999 14:23:17 -0800 (PST)
From:      John Polstra <jdp@polstra.com>
To:        Terry Lambert <tlambert@primenet.com>
Cc:        hackers@FreeBSD.ORG, wes@softweyr.com
Subject:   Re: ldconfig and libraries
Message-ID:  <XFMail.990209142317.jdp@polstra.com>
In-Reply-To: <199902092216.PAA07798@usr02.primenet.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Terry Lambert wrote:

> OK, next question: Why can't it be at the end of the data?

Because then it wouldn't be in a read-only segment at execution
time.

And it wouldn't help anyway, because it would still come before BSS,
causing BSS to move if the RPATHs size were changed.  :-)

Anticipating another likely question:
Q. Why not make it read-write, then?  What could it hurt?
A. It would violate the ELF spec.

John
---
  John Polstra                                               jdp@polstra.com
  John D. Polstra & Co., Inc.                        Seattle, Washington USA
  "Nobody ever went broke underestimating the taste of the American public."
                                                            -- H. L. Mencken

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.990209142317.jdp>