PERFORCE change 110642 for review
Oleksandr Tymoshenko
gonzo at FreeBSD.org
Tue Nov 28 15:08:35 PST 2006
http://perforce.freebsd.org/chv.cgi?CH=110642
Change 110642 by gonzo at gonzo_jeevse on 2006/11/28 23:08:03
o Remove IRIX artifact: text sections in shared libraries
should not start from 0x5ffe0000. in-kernel elf loader uses
base address of 0x30000000 which summing with vaddr from program
header gives us values greater then userspace max addr.
Affected files ...
.. //depot/projects/mips2/src/contrib/binutils/ld/emulparams/elf32bmip.sh#2 edit
.. //depot/projects/mips2/src/contrib/binutils/ld/emulparams/elf32bmipn32.sh#2 edit
Differences ...
==== //depot/projects/mips2/src/contrib/binutils/ld/emulparams/elf32bmip.sh#2 (text+ko) ====
@@ -10,7 +10,6 @@
MAXPAGESIZE=0x40000
COMMONPAGESIZE=0x1000
NONPAGED_TEXT_START_ADDR=0x0400000
-SHLIB_TEXT_START_ADDR=0x5ffe0000
test -n "${EMBEDDED}" || TEXT_DYNAMIC=
INITIAL_READONLY_SECTIONS="
.reginfo ${RELOCATING-0} : { *(.reginfo) }
==== //depot/projects/mips2/src/contrib/binutils/ld/emulparams/elf32bmipn32.sh#2 (text+ko) ====
@@ -2,7 +2,6 @@
OUTPUT_FORMAT="elf32-nbigmips"
BIG_OUTPUT_FORMAT="elf32-nbigmips"
LITTLE_OUTPUT_FORMAT="elf32-nlittlemips"
-SHLIB_TEXT_START_ADDR=0x5ffe0000
COMMONPAGESIZE=0x1000
# IRIX6 defines these symbols. 0x34 is the size of the ELF header.
More information about the p4-projects
mailing list