Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761112AbZD3Xrm (ORCPT ); Thu, 30 Apr 2009 19:47:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1760055AbZD3XqV (ORCPT ); Thu, 30 Apr 2009 19:46:21 -0400 Received: from BISCAYNE-ONE-STATION.MIT.EDU ([18.7.7.80]:59251 "EHLO biscayne-one-station.mit.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760147AbZD3XqU (ORCPT ); Thu, 30 Apr 2009 19:46:20 -0400 From: Tim Abbott To: Sam Ravnborg Cc: Linux kernel mailing list , Anders Kaseorg , Waseem Daher , Denys Vlasenko , Jeff Arnold , Yoshinori Sato , Tim Abbott Subject: [PATCH 2/2] h8300: use .head.text for compressed bootloader. Date: Thu, 30 Apr 2009 19:46:15 -0400 Message-Id: <1241135175-8183-3-git-send-email-tabbott@mit.edu> X-Mailer: git-send-email 1.6.2.1 In-Reply-To: <1241135175-8183-2-git-send-email-tabbott@mit.edu> References: <1241135175-8183-1-git-send-email-tabbott@mit.edu> <1241135175-8183-2-git-send-email-tabbott@mit.edu> X-Spam-Flag: NO X-Spam-Score: 0.00 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1300 Lines: 46 Signed-off-by: Tim Abbott Cc: Yoshinori Sato --- arch/h8300/boot/compressed/head.S | 3 ++- arch/h8300/boot/compressed/vmlinux.lds | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/h8300/boot/compressed/head.S b/arch/h8300/boot/compressed/head.S index 985a81a..a821a1b 100644 --- a/arch/h8300/boot/compressed/head.S +++ b/arch/h8300/boot/compressed/head.S @@ -5,11 +5,12 @@ */ .h8300h +#include #include #define SRAM_START 0xff4000 - .section .text.startup + __HEAD .global startup startup: mov.l #SRAM_START+0x8000, sp diff --git a/arch/h8300/boot/compressed/vmlinux.lds b/arch/h8300/boot/compressed/vmlinux.lds index 65e2a0d..98a492e 100644 --- a/arch/h8300/boot/compressed/vmlinux.lds +++ b/arch/h8300/boot/compressed/vmlinux.lds @@ -4,7 +4,7 @@ SECTIONS { __stext = . ; __text = .; - *(.text.startup) + *(.head.text) *(.text) __etext = . ; } -- 1.6.2.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/