017-mcfv4e_elf_entry_stext.patch 724 B

12345678910111213141516171819202122232425
  1. From 2beb3e5edd46ea1d87ac87dbb977dce423a1f124 Mon Sep 17 00:00:00 2001
  2. From: Kurt Mahan <[email protected]>
  3. Date: Wed, 21 Nov 2007 14:56:19 -0700
  4. Subject: [PATCH] Change elf entry point from _start to _stext.
  5. Changing the symbol was required by CodeWarrior so it could
  6. locate the entry point.
  7. LTIBName: mcfv4e-elf-entry-stext
  8. Signed-off-by: Kurt Mahan <[email protected]>
  9. ---
  10. arch/m68k/coldfire/vmlinux-cf.lds | 2 +-
  11. 1 files changed, 1 insertions(+), 1 deletions(-)
  12. --- a/arch/m68k/coldfire/vmlinux-cf.lds
  13. +++ b/arch/m68k/coldfire/vmlinux-cf.lds
  14. @@ -4,7 +4,7 @@
  15. OUTPUT_FORMAT("elf32-m68k", "elf32-m68k", "elf32-m68k")
  16. OUTPUT_ARCH(m68k)
  17. -ENTRY(_start)
  18. +ENTRY(_stext)
  19. jiffies = jiffies_64 + 4;
  20. SECTIONS
  21. {