diff options
author | Greg Ungerer <gerg@uclinux.org> | 2011-10-19 13:50:35 +1000 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2013-10-26 21:06:11 +0100 |
commit | 5e4063bdbee2ead4042b6caf4f603ed0cb6c0fc6 (patch) | |
tree | 479f7dba5532918c1ab73538fa0dfd1d5afae240 /arch/m68k/kernel/vmlinux-nommu.lds | |
parent | 2187004fa49f190aa89eb1e3cc01623d62f480a8 (diff) |
m68k: use non-MMU linker script for ColdFire MMU builds
commit ed865e31a8273be200db9ddcdb6b844e48777abd upstream.
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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'arch/m68k/kernel/vmlinux-nommu.lds')
-rw-r--r-- | arch/m68k/kernel/vmlinux-nommu.lds | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/m68k/kernel/vmlinux-nommu.lds b/arch/m68k/kernel/vmlinux-nommu.lds index 4e238934083..8e66ccb0935 100644 --- a/arch/m68k/kernel/vmlinux-nommu.lds +++ b/arch/m68k/kernel/vmlinux-nommu.lds @@ -69,6 +69,7 @@ SECTIONS { SCHED_TEXT LOCK_TEXT *(.text..lock) + *(.fixup) . = ALIGN(16); /* Exception table */ __start___ex_table = .; @@ -161,6 +162,13 @@ SECTIONS { _edata = . ; } > DATA + .m68k_fixup : { + __start_fixup = .; + *(.m68k_fixup) + __stop_fixup = .; + } > DATA + NOTES > DATA + .init.text : { . = ALIGN(PAGE_SIZE); __init_begin = .; |