diff options
author | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2007-09-17 05:13:45 -0400 |
---|---|---|
committer | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2007-10-11 06:16:57 -0400 |
commit | 0d2372e5d61ccc1c618aaf5099700c8dc76e234a (patch) | |
tree | 8308614840610c90afddf4a64f99aeb0a1deafac /arch/avr32 | |
parent | 7cf6ac2ae240e02ebdd2717a09d083d47cb60251 (diff) |
[AVR32] Remove unneeded 8K alignment of .text section
__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>
Diffstat (limited to 'arch/avr32')
-rw-r--r-- | arch/avr32/kernel/vmlinux.lds.S | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/avr32/kernel/vmlinux.lds.S b/arch/avr32/kernel/vmlinux.lds.S index fef0e6d322f1..ce9ac9659883 100644 --- a/arch/avr32/kernel/vmlinux.lds.S +++ b/arch/avr32/kernel/vmlinux.lds.S | |||
@@ -64,7 +64,6 @@ SECTIONS | |||
64 | __init_end = .; | 64 | __init_end = .; |
65 | } | 65 | } |
66 | 66 | ||
67 | . = ALIGN(8192); | ||
68 | .text : AT(ADDR(.text) - LOAD_OFFSET) { | 67 | .text : AT(ADDR(.text) - LOAD_OFFSET) { |
69 | _evba = .; | 68 | _evba = .; |
70 | _text = .; | 69 | _text = .; |