[PATCH 2/2] h8300: use .head.text for compressed bootloader.

From: Tim Abbott
Date: Thu Apr 30 2009 - 19:47:44 EST


Signed-off-by: Tim Abbott <tabbott@xxxxxxx>
Cc: Yoshinori Sato <ysato@xxxxxxxxxxxxxxxxxxxx>
---
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 <linux/init.h>
#include <linux/linkage.h>

#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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/