2009-05-11 11:46:14 +00:00
|
|
|
/*
|
|
|
|
* (C) Copyright 2009
|
|
|
|
* Stefan Roese, DENX Software Engineering, sr@denx.de.
|
|
|
|
*
|
2013-07-08 07:37:19 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
2009-05-11 11:46:14 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
OUTPUT_ARCH(powerpc)
|
|
|
|
SECTIONS
|
|
|
|
{
|
|
|
|
/* Read-only sections, merged into text segment: */
|
|
|
|
. = + SIZEOF_HEADERS;
|
|
|
|
.text :
|
|
|
|
{
|
2010-11-21 19:55:42 +00:00
|
|
|
arch/powerpc/cpu/ppc4xx/start.o (.text*)
|
|
|
|
board/amcc/sequoia/init.o (.text*)
|
2009-05-11 11:46:14 +00:00
|
|
|
|
2010-11-21 19:55:42 +00:00
|
|
|
*(.text*)
|
2009-05-11 11:46:14 +00:00
|
|
|
}
|
|
|
|
_etext = .;
|
|
|
|
PROVIDE (etext = .);
|
|
|
|
.rodata :
|
|
|
|
{
|
|
|
|
*(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Read-write section, merged into data segment: */
|
|
|
|
. = (. + 0x00FF) & 0xFFFFFF00;
|
|
|
|
_erotext = .;
|
|
|
|
PROVIDE (erotext = .);
|
|
|
|
.reloc :
|
|
|
|
{
|
2010-11-21 19:55:42 +00:00
|
|
|
KEEP(*(.got))
|
2009-05-11 11:46:14 +00:00
|
|
|
_GOT2_TABLE_ = .;
|
2010-11-21 19:55:42 +00:00
|
|
|
KEEP(*(.got2))
|
2009-05-11 11:46:14 +00:00
|
|
|
_FIXUP_TABLE_ = .;
|
2010-11-21 19:55:42 +00:00
|
|
|
KEEP(*(.fixup))
|
2009-05-11 11:46:14 +00:00
|
|
|
}
|
|
|
|
__got2_entries = (_FIXUP_TABLE_ - _GOT2_TABLE_) >>2;
|
|
|
|
__fixup_entries = (. - _FIXUP_TABLE_)>>2;
|
|
|
|
|
|
|
|
.data :
|
|
|
|
{
|
2010-11-21 19:55:42 +00:00
|
|
|
*(.data*)
|
|
|
|
*(.sdata*)
|
2009-05-11 11:46:14 +00:00
|
|
|
}
|
|
|
|
_edata = .;
|
|
|
|
PROVIDE (edata = .);
|
|
|
|
|
|
|
|
. = .;
|
|
|
|
|
2012-10-12 10:27:03 +00:00
|
|
|
.u_boot_list : {
|
2013-02-25 00:59:00 +00:00
|
|
|
KEEP(*(SORT(.u_boot_list*)));
|
2012-10-12 10:27:03 +00:00
|
|
|
}
|
2009-05-11 11:46:14 +00:00
|
|
|
|
|
|
|
. = .;
|
|
|
|
__start___ex_table = .;
|
|
|
|
__ex_table : { *(__ex_table) }
|
|
|
|
__stop___ex_table = .;
|
|
|
|
|
|
|
|
. = ALIGN(256);
|
|
|
|
__init_begin = .;
|
|
|
|
.text.init : { *(.text.init) }
|
|
|
|
.data.init : { *(.data.init) }
|
|
|
|
. = ALIGN(256);
|
|
|
|
__init_end = .;
|
|
|
|
|
|
|
|
__bss_start = .;
|
|
|
|
.bss (NOLOAD) :
|
|
|
|
{
|
2010-11-21 19:55:42 +00:00
|
|
|
*(.bss*)
|
|
|
|
*(.sbss*)
|
2009-05-11 11:46:14 +00:00
|
|
|
*(COMMON)
|
|
|
|
. = ALIGN(4);
|
|
|
|
}
|
|
|
|
|
2013-03-14 06:54:53 +00:00
|
|
|
__bss_end = . ;
|
2009-05-11 11:46:14 +00:00
|
|
|
PROVIDE (end = .);
|
|
|
|
}
|