From patchwork Sun Oct 25 21:42:48 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Helge Deller X-Patchwork-Id: 55797 X-Patchwork-Delegate: kyle@mcmartin.ca Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n9PLgs4Z018295 for ; Sun, 25 Oct 2009 21:42:54 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754180AbZJYVms (ORCPT ); Sun, 25 Oct 2009 17:42:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754212AbZJYVms (ORCPT ); Sun, 25 Oct 2009 17:42:48 -0400 Received: from mail.gmx.net ([213.165.64.20]:52294 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1754180AbZJYVms (ORCPT ); Sun, 25 Oct 2009 17:42:48 -0400 Received: (qmail invoked by alias); 25 Oct 2009 21:42:50 -0000 Received: from p4FDB39B5.dip0.t-ipconnect.de (EHLO p100.box) [79.219.57.181] by mail.gmx.net (mp024) with SMTP; 25 Oct 2009 22:42:50 +0100 X-Authenticated: #1045983 X-Provags-ID: V01U2FsdGVkX19g3k83gX1gdvwyHfTiylDR+ZSEGPaR4J40RmMRUZ 1LGxz5nGtx52YB Date: Sun, 25 Oct 2009 22:42:48 +0100 From: Helge Deller To: linux-parisc@vger.kernel.org, Kyle McMartin , Randolph Chung Subject: [PATCH] parisc: fix unwind Message-ID: <20091025214248.GA15028@p100.box> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.19 (2009-01-05) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.52 Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org diff --git a/arch/parisc/kernel/unwind.c b/arch/parisc/kernel/unwind.c index 69dad5a..6c631bf 100644 --- a/arch/parisc/kernel/unwind.c +++ b/arch/parisc/kernel/unwind.c @@ -28,7 +28,7 @@ #define dbg(x...) #endif -#define KERNEL_START (KERNEL_BINARY_TEXT_START - 0x1000) +#define KERNEL_START (KERNEL_BINARY_TEXT_START) extern struct unwind_table_entry __start___unwind[]; extern struct unwind_table_entry __stop___unwind[]; diff --git a/arch/parisc/kernel/vmlinux.lds.S b/arch/parisc/kernel/vmlinux.lds.S index fda4baa..9dab4a4 100644 --- a/arch/parisc/kernel/vmlinux.lds.S +++ b/arch/parisc/kernel/vmlinux.lds.S @@ -78,9 +78,6 @@ SECTIONS */ . = ALIGN(PAGE_SIZE); data_start = .; - EXCEPTION_TABLE(16) - - NOTES /* unwind info */ .PARISC.unwind : { @@ -89,6 +86,9 @@ SECTIONS __stop___unwind = .; } + EXCEPTION_TABLE(16) + NOTES + /* Data */ RW_DATA_SECTION(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)