pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/platform Add a block comment to track the base addr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b01e2079c502
branches:  trunk
changeset: 482544:b01e2079c502
user:      tv <tv%pkgsrc.org@localhost>
date:      Fri Oct 29 15:15:10 2004 +0000

description:
Add a block comment to track the base addresses of Interix shlibs as used
in pkgsrc.  (Since they are non-PIC, they require better than just default
base addresses in some fashion, or else face runtime text relocation.)

diffstat:

 mk/platform/Interix.mk |  25 ++++++++++++++++++++++++-
 1 files changed, 24 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r 3a27b22458f5 -r b01e2079c502 mk/platform/Interix.mk
--- a/mk/platform/Interix.mk    Fri Oct 29 15:01:15 2004 +0000
+++ b/mk/platform/Interix.mk    Fri Oct 29 15:15:10 2004 +0000
@@ -1,7 +1,30 @@
-# $NetBSD: Interix.mk,v 1.8 2004/10/29 14:53:39 tv Exp $
+# $NetBSD: Interix.mk,v 1.9 2004/10/29 15:15:10 tv Exp $
 #
 # Variable definitions for the Interix operating system.
 
+# SHLIB BASE ADDRESSES:
+#
+# [tv] For reference, here's a list of shared library base address ranges used
+# throughout pkgsrc to cope with the fact that Interix has no proper 
+# support in the compiler.  This list will be kept updated for any new packages
+# also needing special handling.
+#
+# Fortunately, libtool covers most of this, and uses a randomized base address
+# selection as described below.  This randomized base address concept is used
+# again in a couple other places.
+#
+# * = currently uses fixed default of 0x10000000 and needs something better
+#     (this base address restricts how far sbrk() can go in memory, and of
+#     course, collides with everything else, requiring runtime RSS relocs)
+#
+# pkg          start           end             slotsize        #slots
+#
+# libtool-base 0x50000000      0x6fffffff      0x00040000      2048
+# netpbm       0x6b000000      0x6cffffff      0x00100000      32
+# openssl      0x5e000000      0x5fffffff      0x00100000      32
+# perl58       *
+# zsh          *
+
 AWK?=          /usr/contrib/bin/gawk
 BASENAME?=     /bin/basename
 CAT?=          /bin/cat



Home | Main Index | Thread Index | Old Index