mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 12:42:02 +00:00
ed865e31a8
Use the non-MMU linker script for ColdFire builds when we are building for MMU enabled. The image layout is correct for loading on existing ColdFire dev boards. The only addition required to the current non-MMU linker script is to add support for the fixup section. Signed-off-by: Greg Ungerer <gerg@uclinux.org> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Matt Waddel <mwaddel@yahoo.com> Acked-by: Kurt Mahan <kmahan@xmission.com>
15 lines
258 B
ArmAsm
15 lines
258 B
ArmAsm
#if defined(CONFIG_MMU) && !defined(CONFIG_COLDFIRE)
|
|
PHDRS
|
|
{
|
|
text PT_LOAD FILEHDR PHDRS FLAGS (7);
|
|
data PT_LOAD FLAGS (7);
|
|
}
|
|
#ifdef CONFIG_SUN3
|
|
#include "vmlinux-sun3.lds"
|
|
#else
|
|
#include "vmlinux-std.lds"
|
|
#endif
|
|
#else
|
|
#include "vmlinux-nommu.lds"
|
|
#endif
|