]> git.baikalelectronics.ru Git - kernel.git/commit
m68knommu: put ColdFire head code into .text.head section
authorGreg Ungerer <gerg@uclinux.org>
Fri, 11 Jul 2008 05:29:36 +0000 (15:29 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Wed, 23 Jul 2008 05:11:29 +0000 (15:11 +1000)
commit96c6a5827105204ca7499a0dc4132cf382f5669e
treea50815d416ded6b0d46f7cc02241b6e5f0aa0072
parente871a2ab94bc327db0414ad934739e318eeb3a8f
m68knommu: put ColdFire head code into .text.head section

Switch the ColdFire head start up code to be in the .text.head segment.
And make sure that segment is at the start of the final linked text
segment. Fixes the linker warnings about section use mis-matches:

  WARNING: vmlinux.o(.text+0xa8): Section mismatch in reference from the variable _clear_bss to the function .init.text:start_kernel()
  The function _clear_bss() references
  the function __init start_kernel().
  This is often because _clear_bss lacks a __init
  annotation or the annotation of start_kernel is wrong.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
arch/m68knommu/kernel/vmlinux.lds.S
arch/m68knommu/platform/coldfire/head.S