提交 0d2372e5 编写于 作者: H Haavard Skinnemoen

[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: NHaavard Skinnemoen <hskinnemoen@atmel.com>
上级 7cf6ac2a
......@@ -64,7 +64,6 @@ SECTIONS
__init_end = .;
}
. = ALIGN(8192);
.text : AT(ADDR(.text) - LOAD_OFFSET) {
_evba = .;
_text = .;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册