URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 205 |
Rev 816 |
# default linker script for c54x, TI COFF(1).
|
# default linker script for c54x, TI COFF(1).
|
# patterned after description in TI Assembler Tools PDF, SPRU102C, 7-53
|
# patterned after description in TI Assembler Tools PDF, SPRU102C, 7-53
|
test -z "$ENTRY" && ENTRY=_c_int00
|
test -z "$ENTRY" && ENTRY=_c_int00
|
|
|
cat <
|
cat <
|
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
|
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
|
OUTPUT_ARCH("${OUTPUT_ARCH}")
|
OUTPUT_ARCH("${OUTPUT_ARCH}")
|
|
|
MEMORY
|
MEMORY
|
{
|
{
|
/*PAGE 0 : */ prog (RXI) : ORIGIN = 0x00000080, LENGTH = 0xFF00
|
/*PAGE 0 : */ prog (RXI) : ORIGIN = 0x00000080, LENGTH = 0xFF00
|
/*PAGE 1 : */ data (W) : ORIGIN = 0x01000080, LENGTH = 0xFF80
|
/*PAGE 1 : */ data (W) : ORIGIN = 0x01000080, LENGTH = 0xFF80
|
}
|
}
|
|
|
${RELOCATING+ENTRY (${ENTRY})}
|
${RELOCATING+ENTRY (${ENTRY})}
|
|
|
SECTIONS
|
SECTIONS
|
{
|
{
|
.text :
|
.text :
|
{
|
{
|
___text__ = .;
|
___text__ = .;
|
*(.text)
|
*(.text)
|
etext = .;
|
etext = .;
|
___etext__ = .;
|
___etext__ = .;
|
} > prog
|
} > prog
|
.data :
|
.data :
|
{
|
{
|
___data__ = .;
|
___data__ = .;
|
__data = .;
|
__data = .;
|
*(.data)
|
*(.data)
|
__edata = .;
|
__edata = .;
|
edata = .;
|
edata = .;
|
___edata__ = .;
|
___edata__ = .;
|
} > prog
|
} > prog
|
/* all other initialized sections should be allocated here */
|
/* all other initialized sections should be allocated here */
|
.cinit :
|
.cinit :
|
{
|
{
|
*(.cinit)
|
*(.cinit)
|
} > prog
|
} > prog
|
.bss :
|
.bss :
|
{
|
{
|
___bss__ = .;
|
___bss__ = .;
|
__bss = .;
|
__bss = .;
|
*(.bss)
|
*(.bss)
|
*(COMMON)
|
*(COMMON)
|
__ebss = .;
|
__ebss = .;
|
end = .;
|
end = .;
|
___end__ = .;
|
___end__ = .;
|
} > data
|
} > data
|
/* all other uninitialized sections should be allocated here */
|
/* all other uninitialized sections should be allocated here */
|
}
|
}
|
EOF
|
EOF
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.