2018-05-06 21:58:06 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
2014-02-04 08:56:14 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2013-2014 Synopsys, Inc. All rights reserved.
|
|
|
|
*/
|
|
|
|
|
2016-08-03 17:44:39 +00:00
|
|
|
#include <config.h>
|
|
|
|
|
2018-05-30 16:03:39 +00:00
|
|
|
OUTPUT_FORMAT("elf32-littlearc", "elf32-bigarc", "elf32-littlearc")
|
2014-02-04 08:56:14 +00:00
|
|
|
OUTPUT_ARCH(arc)
|
|
|
|
ENTRY(_start)
|
|
|
|
SECTIONS
|
|
|
|
{
|
2016-08-03 17:44:39 +00:00
|
|
|
. = CONFIG_SYS_TEXT_BASE;
|
|
|
|
__image_copy_start = .;
|
2014-12-24 14:17:11 +00:00
|
|
|
. = ALIGN(1024);
|
2016-08-03 17:44:39 +00:00
|
|
|
__ivt_start = .;
|
2014-12-24 14:17:11 +00:00
|
|
|
.ivt :
|
|
|
|
{
|
2018-05-29 17:29:16 +00:00
|
|
|
KEEP(*(.ivt))
|
2014-12-24 14:17:11 +00:00
|
|
|
}
|
2016-08-03 17:44:39 +00:00
|
|
|
__ivt_end = .;
|
2014-12-24 14:17:11 +00:00
|
|
|
|
2018-05-29 17:01:00 +00:00
|
|
|
. = ALIGN(1024);
|
|
|
|
__text_start = .;
|
|
|
|
.text : {
|
|
|
|
arch/arc/lib/start.o (.text*)
|
|
|
|
*(.text*)
|
|
|
|
}
|
|
|
|
__text_end = .;
|
|
|
|
|
2014-02-04 08:56:14 +00:00
|
|
|
. = ALIGN(4);
|
|
|
|
.rodata : {
|
|
|
|
*(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
|
|
|
|
}
|
|
|
|
|
|
|
|
. = ALIGN(4);
|
|
|
|
.data : {
|
|
|
|
*(.data*)
|
|
|
|
}
|
|
|
|
|
|
|
|
. = ALIGN(4);
|
2022-05-30 10:00:04 +00:00
|
|
|
__u_boot_list : {
|
|
|
|
KEEP(*(SORT(__u_boot_list*)));
|
2014-02-04 08:56:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
. = ALIGN(4);
|
2016-08-03 17:44:39 +00:00
|
|
|
__rel_dyn_start = .;
|
2014-02-04 08:56:14 +00:00
|
|
|
.rela.dyn : {
|
|
|
|
*(.rela.dyn)
|
|
|
|
}
|
2016-08-03 17:44:39 +00:00
|
|
|
__rel_dyn_end = .;
|
2014-02-04 08:56:14 +00:00
|
|
|
|
|
|
|
. = ALIGN(4);
|
2016-08-03 17:44:39 +00:00
|
|
|
__bss_start = .;
|
2014-02-04 08:56:14 +00:00
|
|
|
.bss : {
|
|
|
|
*(.bss*)
|
|
|
|
}
|
2016-08-03 17:44:39 +00:00
|
|
|
__bss_end = .;
|
2014-02-04 08:56:14 +00:00
|
|
|
|
|
|
|
. = ALIGN(4);
|
2016-08-03 17:44:39 +00:00
|
|
|
__image_copy_end = .;
|
|
|
|
__init_end = .;
|
2014-02-04 08:56:14 +00:00
|
|
|
}
|