artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c57652e
)
Don't space text/data in shared libs by 256Mb. ld.so can't handle it with
author
pefo
<pefo@openbsd.org>
Wed, 12 Feb 1997 22:49:33 +0000
(22:49 +0000)
committer
pefo
<pefo@openbsd.org>
Wed, 12 Feb 1997 22:49:33 +0000
(22:49 +0000)
the shm sizing method it uses for the moment, so loading many shlibs
effectively makes a proram run out of VM.
gnu/usr.bin/binutils/ld/scripttempl/elfmips.sc
patch
|
blob
|
history
diff --git
a/gnu/usr.bin/binutils/ld/scripttempl/elfmips.sc
b/gnu/usr.bin/binutils/ld/scripttempl/elfmips.sc
index
2948e1b
..
46008c4
100644
(file)
--- 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} :
{