2011-10-19 20:41:05 +00:00
|
|
|
/*
|
|
|
|
* (C) Copyright 2000
|
|
|
|
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
*
|
|
|
|
* Copyright (C) 2011 Andes Technology Corporation
|
|
|
|
* Shawn Lin, Andes Technology Corporation <nobuhiro@andestech.com>
|
|
|
|
* Macpaul Lin, Andes Technology Corporation <macpaul@andestech.com>
|
|
|
|
*
|
2013-07-08 07:37:19 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
2011-10-19 20:41:05 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
OUTPUT_FORMAT("elf32-nds32", "elf32-nds32", "elf32-nds32")
|
|
|
|
OUTPUT_ARCH(nds32)
|
|
|
|
ENTRY(_start)
|
|
|
|
SECTIONS
|
|
|
|
{
|
|
|
|
. = ALIGN(4);
|
|
|
|
.text :
|
|
|
|
{
|
|
|
|
arch/nds32/cpu/n1213/start.o (.text)
|
|
|
|
*(.text)
|
|
|
|
}
|
|
|
|
|
|
|
|
. = ALIGN(4);
|
|
|
|
.rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) }
|
|
|
|
|
|
|
|
. = ALIGN(4);
|
2011-11-09 08:24:57 +00:00
|
|
|
.data : { *(.data*) }
|
2011-10-19 20:41:05 +00:00
|
|
|
|
|
|
|
. = ALIGN(4);
|
|
|
|
|
|
|
|
.got : {
|
|
|
|
__got_start = .;
|
|
|
|
*(.got.plt) *(.got)
|
|
|
|
__got_end = .;
|
|
|
|
}
|
|
|
|
|
|
|
|
. = .;
|
|
|
|
|
2012-10-12 10:27:03 +00:00
|
|
|
. = ALIGN(4);
|
|
|
|
.u_boot_list : {
|
2013-02-25 00:59:00 +00:00
|
|
|
KEEP(*(SORT(.u_boot_list*)));
|
2012-10-12 10:27:03 +00:00
|
|
|
}
|
|
|
|
|
2011-10-19 20:41:05 +00:00
|
|
|
. = ALIGN(4);
|
|
|
|
|
|
|
|
_end = .;
|
|
|
|
|
|
|
|
.bss : {
|
|
|
|
__bss_start = .;
|
|
|
|
*(.bss)
|
|
|
|
. = ALIGN(4);
|
2013-03-14 06:54:53 +00:00
|
|
|
__bss_end = .;
|
2011-10-19 20:41:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|