Messages in this thread Patch in this message | | | From | Tim Abbott <> | Subject | [PATCH 2/2] h8300: use .head.text for compressed bootloader. | Date | Thu, 30 Apr 2009 19:46:15 -0400 |
| |
Signed-off-by: Tim Abbott <tabbott@mit.edu> Cc: Yoshinori Sato <ysato@users.sourceforge.jp> --- 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
| |