microblaze: Use LOAD_OFFSET macro to get correct LMA for all sections
authorMichal Simek <monstr@monstr.eu>
Tue, 22 Sep 2009 07:58:56 +0000 (09:58 +0200)
committerMichal Simek <monstr@monstr.eu>
Tue, 22 Sep 2009 08:10:35 +0000 (10:10 +0200)
commita061dd5258b2bad6c44c48d2a2d55f4fd5eb85d8
treea06f92a01d4873d62b1f2eb79426ec06d1af1f40
parenta1253977dff4a033d61a7a96608f5a0bbb36dbf6
microblaze: Use LOAD_OFFSET macro to get correct LMA for all sections

Currently, vmlinux has LMA==VMA for all sections, which is wrong for MMU
kernels.  Previous patches in this series defined the LOAD_OFFSET constant,
now we make use of it in our link script.

Other minor changes in this patch:
* brace/indenting cleanup of some sections
* put __fdt_* symbols in their own section, and apply LOAD_OFFSET fixup

Signed-off-by: John Williams <john.williams@petalogix.com>
Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/kernel/vmlinux.lds.S