From owner-p4-projects@FreeBSD.ORG Tue Nov 28 23:08:35 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id C681E16A415; Tue, 28 Nov 2006 23:08:34 +0000 (UTC) X-Original-To: perforce@FreeBSD.org Delivered-To: perforce@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 981E016A407 for ; Tue, 28 Nov 2006 23:08:34 +0000 (UTC) (envelope-from gonzo@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62D6C43C9E for ; Tue, 28 Nov 2006 23:08:29 +0000 (GMT) (envelope-from gonzo@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id kASN8YLe011905 for ; Tue, 28 Nov 2006 23:08:34 GMT (envelope-from gonzo@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id kASN8Y6M011900 for perforce@freebsd.org; Tue, 28 Nov 2006 23:08:34 GMT (envelope-from gonzo@FreeBSD.org) Date: Tue, 28 Nov 2006 23:08:34 GMT Message-Id: <200611282308.kASN8Y6M011900@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to gonzo@FreeBSD.org using -f From: Oleksandr Tymoshenko To: Perforce Change Reviews Cc: Subject: PERFORCE change 110642 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Nov 2006 23:08:35 -0000 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.