From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GedNQ-0005BO-Tt for user-mode-linux-devel@lists.sourceforge.net; Mon, 30 Oct 2006 12:04:57 -0800 Received: from saraswathi.solana.com ([198.99.130.12]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GedNM-0004HR-2t for user-mode-linux-devel@lists.sourceforge.net; Mon, 30 Oct 2006 12:04:56 -0800 Message-Id: <200610302102.k9UL2xX8006234@ccure.user-mode-linux.org> Mime-Version: 1.0 Date: Mon, 30 Oct 2006 16:02:59 -0500 From: Jeff Dike Subject: [uml-devel] [PATCH 1/3] UML - Add _text definition to linker scripts List-Id: The user-mode Linux development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: user-mode-linux-devel-bounces@lists.sourceforge.net Errors-To: user-mode-linux-devel-bounces@lists.sourceforge.net To: akpm@osdl.org Cc: linux-kernel@vger.kernel.org, user-mode-linux-devel@lists.sourceforge.net kallsyms now refers to addresses as '_text + 0xADDRESS', rather than just '0xADDRESS', so we need to define _text. Signed-off-by: Jeff Dike Index: linux-2.6.18-mm/arch/um/kernel/dyn.lds.S =================================================================== --- linux-2.6.18-mm.orig/arch/um/kernel/dyn.lds.S 2006-10-30 13:11:25.000000000 -0500 +++ linux-2.6.18-mm/arch/um/kernel/dyn.lds.S 2006-10-30 13:52:26.000000000 -0500 @@ -14,6 +14,7 @@ SECTIONS * is remapped.*/ __binary_start = .; . = ALIGN(4096); /* Init code and data */ + _text = .; _stext = .; __init_begin = .; .init.text : { Index: linux-2.6.18-mm/arch/um/kernel/uml.lds.S =================================================================== --- linux-2.6.18-mm.orig/arch/um/kernel/uml.lds.S 2006-10-30 13:11:25.000000000 -0500 +++ linux-2.6.18-mm/arch/um/kernel/uml.lds.S 2006-10-30 13:52:10.000000000 -0500 @@ -25,6 +25,7 @@ SECTIONS . = ALIGN(4096); /* Init code and data */ #endif + _text = .; _stext = .; __init_begin = .; .init.text : { ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel