]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
[AVR32] Remove unneeded 8K alignment of .text section
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Mon, 17 Sep 2007 09:13:45 +0000 (11:13 +0200)
committerHaavard Skinnemoen <hskinnemoen@atmel.com>
Thu, 11 Oct 2007 10:16:57 +0000 (12:16 +0200)
__init_end, which comes immediately before .text, is already page
aligned, and that should be more than enough for the .text section.

The reason why we need to align the .text section is because the
interrupt handler offset is ORed with EVBA, so we need to provide
enough alignment of EVBA that this OR operation works as an ADD.

Currently, the last interrupt handler is not nearly a full page away
from EVBA, so it won't be a problem.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
arch/avr32/kernel/vmlinux.lds.S

index fef0e6d322f107f47ca5c945c109b95af43a11a7..ce9ac9659883d0336cbbe0e796f660e1e97173a2 100644 (file)
@@ -64,7 +64,6 @@ SECTIONS
                __init_end = .;
        }
 
-       . = ALIGN(8192);
        .text           : AT(ADDR(.text) - LOAD_OFFSET) {
                _evba = .;
                _text = .;