mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 18:59:44 +00:00
87da2690ab
Dear u-boot community, I just made a small change on the openrisc-generic platform configuration to take in account the new naming convention (or1k instead of or32, so the build process gets fine). Could you take care to review and approve the following patch, please? Kind regards,
77 lines
865 B
Text
77 lines
865 B
Text
#include <config.h>
|
|
OUTPUT_ARCH(or1k)
|
|
__DYNAMIC = 0;
|
|
|
|
MEMORY
|
|
{
|
|
vectors : ORIGIN = 0, LENGTH = 0x2000
|
|
ram : ORIGIN = CONFIG_SYS_MONITOR_BASE,
|
|
LENGTH = CONFIG_SYS_MONITOR_LEN
|
|
}
|
|
|
|
SECTIONS
|
|
{
|
|
.vectors :
|
|
{
|
|
*(.vectors)
|
|
} > vectors
|
|
|
|
__start = .;
|
|
.text : AT (__start) {
|
|
_stext = .;
|
|
*(.text)
|
|
_etext = .;
|
|
*(.lit)
|
|
*(.shdata)
|
|
_endtext = .;
|
|
} > ram
|
|
|
|
|
|
. = ALIGN(4);
|
|
.u_boot_list : {
|
|
KEEP(*(SORT(.u_boot_list*)));
|
|
} > ram
|
|
|
|
.rodata : {
|
|
*(.rodata);
|
|
*(.rodata.*)
|
|
} > ram
|
|
|
|
.shbss :
|
|
{
|
|
*(.shbss)
|
|
} > ram
|
|
|
|
.talias :
|
|
{
|
|
} > ram
|
|
|
|
.data : {
|
|
sdata = .;
|
|
_sdata = .;
|
|
*(.data)
|
|
edata = .;
|
|
_edata = .;
|
|
} > ram
|
|
|
|
.bss :
|
|
{
|
|
_bss_start = .;
|
|
*(.bss)
|
|
*(COMMON)
|
|
_bss_end = .;
|
|
} > ram
|
|
__end = .;
|
|
|
|
/* No stack specification - done manually */
|
|
|
|
.stab 0 (NOLOAD) :
|
|
{
|
|
[ .stab ]
|
|
}
|
|
|
|
.stabstr 0 (NOLOAD) :
|
|
{
|
|
[ .stabstr ]
|
|
}
|
|
}
|