summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorPer Fogelstrom <pefo@cvs.openbsd.org>1997-02-12 22:49:34 +0000
committerPer Fogelstrom <pefo@cvs.openbsd.org>1997-02-12 22:49:34 +0000
commitcd7a96edec1136fa0575da631d8a66b6975a062f (patch)
tree313a4d1665c39452b94b197f326e8b1fd4c45abc /gnu/usr.bin
parentff32432b39dc519a4edcd7d2f1986490f9e2f104 (diff)
Don't space text/data in shared libs by 256Mb. ld.so can't handle it with
the shm sizing method it uses for the moment, so loading many shlibs effectively makes a proram run out of VM.
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/binutils/ld/scripttempl/elfmips.sc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/ld/scripttempl/elfmips.sc b/gnu/usr.bin/binutils/ld/scripttempl/elfmips.sc
index 2948e1beae4..46008c45370 100644
--- a/gnu/usr.bin/binutils/ld/scripttempl/elfmips.sc
+++ b/gnu/usr.bin/binutils/ld/scripttempl/elfmips.sc
@@ -118,7 +118,7 @@ SECTIONS
important than losing a page of the virtual address space (note
that no actual memory is lost; the page which is skipped can not
be referenced). */
- ${RELOCATING+. += ${DATA_ADDR} - ${TEXT_START_ADDR};}
+ ${CREATE_SHLIB-${RELOCATING+. += ${DATA_ADDR} - ${TEXT_START_ADDR};}}
${RELOCATING+. += 0x10000;}
.data ${RELOCATING-0} :
{