2014-02-04 08:56:14 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2013-2014 Synopsys, Inc. All rights reserved.
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
|
|
*/
|
|
|
|
|
2016-08-03 17:44:39 +00:00
|
|
|
#include <config.h>
|
|
|
|
|
2014-02-04 08:56:14 +00:00
|
|
|
OUTPUT_FORMAT("elf32-littlearc", "elf32-littlearc", "elf32-littlearc")
|
|
|
|
OUTPUT_ARCH(arc)
|
|
|
|
ENTRY(_start)
|
|
|
|
SECTIONS
|
|
|
|
{
|
2016-08-03 17:44:39 +00:00
|
|
|
. = CONFIG_SYS_TEXT_BASE;
|
|
|
|
__image_copy_start = .;
|
|
|
|
__text_start = .;
|
2014-02-04 08:56:14 +00:00
|
|
|
.text : {
|
2015-04-10 15:41:58 +00:00
|
|
|
arch/arc/lib/start.o (.text*)
|
2014-02-04 08:56:14 +00:00
|
|
|
*(.text*)
|
|
|
|
}
|
2016-08-03 17:44:39 +00:00
|
|
|
__text_end = .;
|
2014-02-04 08:56:14 +00:00
|
|
|
|
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 :
|
|
|
|
{
|
|
|
|
*(.ivt)
|
|
|
|
}
|
2016-08-03 17:44:39 +00:00
|
|
|
__ivt_end = .;
|
2014-12-24 14:17:11 +00:00
|
|
|
|
2014-02-04 08:56:14 +00:00
|
|
|
. = ALIGN(4);
|
|
|
|
.rodata : {
|
|
|
|
*(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
|
|
|
|
}
|
|
|
|
|
|
|
|
. = ALIGN(4);
|
|
|
|
.data : {
|
|
|
|
*(.data*)
|
|
|
|
}
|
|
|
|
|
|
|
|
. = ALIGN(4);
|
|
|
|
.u_boot_list : {
|
|
|
|
KEEP(*(SORT(.u_boot_list*)));
|
|
|
|
}
|
|
|
|
|
|
|
|
. = 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
|
|
|
}
|