Date: Tue, 28 Nov 2006 23:08:34 GMT From: Oleksandr Tymoshenko <gonzo@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 110642 for review Message-ID: <200611282308.kASN8Y6M011900@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=110642 Change 110642 by gonzo@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611282308.kASN8Y6M011900>