ARC: Move .ivt section to the very beginning of the image
This is useful for cases when U-Boot image is put in ROM and reset vector points to 0 where the very beginnign of the image reside. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
This commit is contained in:
@@ -12,13 +12,6 @@ SECTIONS
|
|||||||
{
|
{
|
||||||
. = CONFIG_SYS_TEXT_BASE;
|
. = CONFIG_SYS_TEXT_BASE;
|
||||||
__image_copy_start = .;
|
__image_copy_start = .;
|
||||||
__text_start = .;
|
|
||||||
.text : {
|
|
||||||
arch/arc/lib/start.o (.text*)
|
|
||||||
*(.text*)
|
|
||||||
}
|
|
||||||
__text_end = .;
|
|
||||||
|
|
||||||
. = ALIGN(1024);
|
. = ALIGN(1024);
|
||||||
__ivt_start = .;
|
__ivt_start = .;
|
||||||
.ivt :
|
.ivt :
|
||||||
@@ -27,6 +20,14 @@ SECTIONS
|
|||||||
}
|
}
|
||||||
__ivt_end = .;
|
__ivt_end = .;
|
||||||
|
|
||||||
|
. = ALIGN(1024);
|
||||||
|
__text_start = .;
|
||||||
|
.text : {
|
||||||
|
arch/arc/lib/start.o (.text*)
|
||||||
|
*(.text*)
|
||||||
|
}
|
||||||
|
__text_end = .;
|
||||||
|
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
.rodata : {
|
.rodata : {
|
||||||
*(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
|
*(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
|
||||||
|
Reference in New Issue
Block a user