frv: clean up linker script using new linker script macros.
authorNelson Elhage <nelhage@ksplice.com>
Fri, 18 Sep 2009 19:52:08 +0000 (15:52 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 18 Sep 2009 20:57:18 +0000 (13:57 -0700)
commit9c88b25bcfde51eccf2cca13d933a2948d0ca4eb
tree01802b8aaeba42f5a4435eb6b0a39e924bc5fc72
parent88ddb81e0f56cc7b603174d9666ecc80237425a0
frv: clean up linker script using new linker script macros.

This is largely a straightforward conversion. The patch results in
fewer output sections, and some data being reordered, but should have
no functional impact.

Also, note that this patch moves some data (namely, init_task and
cacheline-aligned) inside [_sdata,_edata].

Because frv already builds using -ffunction-sections -fdata-sections,
we can't use BSS_SECTION or RW_DATA_SECTION yet, since they do not
currently include the required .bss.* and .data.* sections.

Signed-off-by: Nelson Elhage <nelhage@ksplice.com>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Tim Abbott <tabbott@ksplice.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/frv/kernel/vmlinux.lds.S