diff options
author | tv <tv> | 2004-10-29 15:15:10 +0000 |
---|---|---|
committer | tv <tv> | 2004-10-29 15:15:10 +0000 |
commit | 4c806551d22c410d0fc118b94307eef63cef2333 (patch) | |
tree | 4a5bd8753c52e1e07ecc9cf5c07fbb8daeba9025 /mk/platform | |
parent | 5d3b739abb8d491a5a15066e720ded0ede7ab5c4 (diff) | |
download | pkgsrc-4c806551d22c410d0fc118b94307eef63cef2333.tar.gz |
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 (limited to 'mk/platform')
-rw-r--r-- | mk/platform/Interix.mk | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/mk/platform/Interix.mk b/mk/platform/Interix.mk index 9e1c3dda665..b1d46ce5639 100644 --- a/mk/platform/Interix.mk +++ b/mk/platform/Interix.mk @@ -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 |