浏览代码

[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>
Haavard Skinnemoen 18 年之前
父节点
当前提交
0d2372e5d6
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      arch/avr32/kernel/vmlinux.lds.S

+ 0 - 1
arch/avr32/kernel/vmlinux.lds.S

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