use broken-out patches for the coldfire to make it easier to follow differences again...
[openwrt/svn-archive/archive.git] / target / linux / coldfire / patches / 017-mcfv4e_elf_entry_stext.patch
1 From 2beb3e5edd46ea1d87ac87dbb977dce423a1f124 Mon Sep 17 00:00:00 2001
2 From: Kurt Mahan <kmahan@freescale.com>
3 Date: Wed, 21 Nov 2007 14:56:19 -0700
4 Subject: [PATCH] Change elf entry point from _start to _stext.
5
6 Changing the symbol was required by CodeWarrior so it could
7 locate the entry point.
8
9 LTIBName: mcfv4e-elf-entry-stext
10 Signed-off-by: Kurt Mahan <kmahan@freescale.com>
11 ---
12 arch/m68k/coldfire/vmlinux-cf.lds | 2 +-
13 1 files changed, 1 insertions(+), 1 deletions(-)
14
15 --- a/arch/m68k/coldfire/vmlinux-cf.lds
16 +++ b/arch/m68k/coldfire/vmlinux-cf.lds
17 @@ -4,7 +4,7 @@
18
19 OUTPUT_FORMAT("elf32-m68k", "elf32-m68k", "elf32-m68k")
20 OUTPUT_ARCH(m68k)
21 -ENTRY(_start)
22 +ENTRY(_stext)
23 jiffies = jiffies_64 + 4;
24 SECTIONS
25 {