From patchwork Mon May 11 08:45:27 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 22868 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 n4B8mJeg012360 for ; Mon, 11 May 2009 08:48:19 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754484AbZEKIsR (ORCPT ); Mon, 11 May 2009 04:48:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755221AbZEKIsR (ORCPT ); Mon, 11 May 2009 04:48:17 -0400 Received: from rv-out-0506.google.com ([209.85.198.236]:13459 "EHLO rv-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754484AbZEKIsQ (ORCPT ); Mon, 11 May 2009 04:48:16 -0400 Received: by rv-out-0506.google.com with SMTP id f9so2073293rvb.1 for ; Mon, 11 May 2009 01:48:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:date:message-id :subject; bh=DWeioeLCAL0QYzBEVxaOod3duL3tsPmrNbqH4pXQ0JE=; b=APrMNYmX27CGVnnre4GbXamErKjpCRAO5jcuRlOytnjYA7j6IWoDtOb41zh9/zraU3 6fsiD7zBi7l2tvv3O30ZlS1vErG04zwh0axlxw/uhk9s6/FafCYy1ozuFhH7PBei+zc+ WYInguZcjkUEjLwyEr10Ux/czeBzn33TiA6fQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:date:message-id:subject; b=WuHlZatqalBACkllpBi2b9eX3RhP86q0ITIMHCMQQy9m0SaxUh4FfrEjDz9E/chbJ3 W4mL0OgFIekjbpM+qugQHf/LV4aBMo3cF5OflOnGkkes8d7fO73Cxjb/T1dvFkVhbp36 Fc4ov1+xuNM22X7MtzI3w6WUrwiYzRSO5Lxio= Received: by 10.141.49.18 with SMTP id b18mr2842339rvk.96.1242031697189; Mon, 11 May 2009 01:48:17 -0700 (PDT) Received: from rx1.opensource.se (mailhost.igel.co.jp [219.106.231.130]) by mx.google.com with ESMTPS id g31sm10590640rvb.23.2009.05.11.01.48.15 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 11 May 2009 01:48:16 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Cc: Magnus Damm , lethal@linux-sh.org Date: Mon, 11 May 2009 17:45:27 +0900 Message-Id: <20090511084527.32203.81488.sendpatchset@rx1.opensource.se> Subject: [PATCH] sh: include empty_zero_page in etext Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org From: Magnus Damm Include empty_zero_page in _text. This fixes a problem introduced by c3e2586b794b12ffcdf69b4e547030b51e18e6d9 which results in broken boot on R2D-Plus. Signed-off-by: Magnus Damm --- arch/sh/kernel/vmlinux.lds.S | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- 0001/arch/sh/kernel/vmlinux.lds.S +++ work/arch/sh/kernel/vmlinux.lds.S 2009-05-11 17:21:26.000000000 +0900 @@ -26,12 +26,13 @@ SECTIONS . = CONFIG_PAGE_OFFSET + CONFIG_MEMORY_START + CONFIG_ZERO_PAGE_OFFSET; #endif + _text = .; /* Text and read-only data */ + .empty_zero_page : AT(ADDR(.empty_zero_page) - LOAD_OFFSET) { *(.empty_zero_page) } = 0 .text : AT(ADDR(.text) - LOAD_OFFSET) { - _text = .; /* Text and read-only data */ HEAD_TEXT TEXT_TEXT