2018-05-06 21:58:06 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
2014-01-21 06:30:37 +00:00
|
|
|
/*
|
|
|
|
* (C) Copyright 2013 - 2014 Xilinx, Inc
|
|
|
|
*
|
|
|
|
* Michal Simek <michal.simek@xilinx.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <asm-offsets.h>
|
|
|
|
|
|
|
|
OUTPUT_ARCH(microblaze)
|
|
|
|
ENTRY(_start)
|
|
|
|
|
|
|
|
SECTIONS
|
|
|
|
{
|
|
|
|
.text ALIGN(0x4):
|
|
|
|
{
|
|
|
|
__text_start = .;
|
|
|
|
arch/microblaze/cpu/start.o (.text)
|
|
|
|
*(.text)
|
|
|
|
*(.text.*)
|
|
|
|
__text_end = .;
|
|
|
|
}
|
|
|
|
|
|
|
|
.rodata ALIGN(0x4):
|
|
|
|
{
|
|
|
|
__rodata_start = .;
|
|
|
|
*(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
|
|
|
|
__rodata_end = .;
|
|
|
|
}
|
|
|
|
|
|
|
|
.data ALIGN(0x4):
|
|
|
|
{
|
|
|
|
__data_start = .;
|
|
|
|
*(.data)
|
|
|
|
*(.data.*)
|
|
|
|
__data_end = .;
|
|
|
|
}
|
|
|
|
|
2015-02-03 14:09:52 +00:00
|
|
|
. = ALIGN(4);
|
2022-05-30 10:00:04 +00:00
|
|
|
__u_boot_list : {
|
|
|
|
KEEP(*(SORT(__u_boot_list*)));
|
2015-02-03 14:09:52 +00:00
|
|
|
}
|
|
|
|
__init_end = . ;
|
|
|
|
|
2014-01-21 06:30:37 +00:00
|
|
|
.bss ALIGN(0x4):
|
|
|
|
{
|
|
|
|
__bss_start = .;
|
|
|
|
*(.sbss)
|
|
|
|
*(.scommon)
|
|
|
|
*(.bss)
|
|
|
|
*(.bss.*)
|
|
|
|
*(COMMON)
|
|
|
|
. = ALIGN(4);
|
|
|
|
__bss_end = .;
|
|
|
|
}
|
2021-11-30 16:33:49 +00:00
|
|
|
_end = . ;
|
2023-07-01 02:30:52 +00:00
|
|
|
_image_binary_end = .;
|
2014-01-21 06:30:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#if defined(CONFIG_SPL_MAX_FOOTPRINT)
|
2021-11-30 16:33:49 +00:00
|
|
|
ASSERT(_end - _start <= (CONFIG_SPL_MAX_FOOTPRINT), \
|
2014-01-21 06:30:37 +00:00
|
|
|
"SPL image plus BSS too big");
|
|
|
|
#endif
|