URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 38 |
Rev 156 |
test -z "$ENTRY" && ENTRY=_main
|
test -z "$ENTRY" && ENTRY=_main
|
cat <
|
cat <
|
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
|
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
|
${LIB_SEARCH_DIRS}
|
${LIB_SEARCH_DIRS}
|
ENTRY(${ENTRY})
|
ENTRY(${ENTRY})
|
MEMORY
|
MEMORY
|
{
|
{
|
rom (rx) : ORIGIN = 0, LENGTH = 0x7FFE
|
rom (rx) : ORIGIN = 0, LENGTH = 0x7FFE
|
ram (!rx) : org = 0x0A000, l = 0x5FFF
|
ram (!rx) : org = 0x0A000, l = 0x5FFF
|
}
|
}
|
|
|
SECTIONS
|
SECTIONS
|
{
|
{
|
.text ${RELOCATING+ 0x0000}:
|
.text ${RELOCATING+ 0x0000}:
|
{
|
{
|
*(.text)
|
*(.text)
|
} >rom
|
} >rom
|
|
|
.data ${RELOCATING}:
|
.data ${RELOCATING}:
|
{
|
{
|
*(.data)
|
*(.data)
|
*(.rodata)
|
*(.rodata)
|
*(.bss)
|
*(.bss)
|
*(COMMON)
|
*(COMMON)
|
${RELOCATING+ edata = .};
|
${RELOCATING+ edata = .};
|
}>ram
|
}>ram
|
|
|
/* .bss ${RELOCATING+ SIZEOF(.data) + 0x0000} :
|
/* .bss ${RELOCATING+ SIZEOF(.data) + 0x0000} :
|
{
|
{
|
*(.bss)
|
*(.bss)
|
*(COMMON)
|
*(COMMON)
|
}
|
}
|
*/
|
*/
|
.stab 0 ${RELOCATING+(NOLOAD)} :
|
.stab 0 ${RELOCATING+(NOLOAD)} :
|
{
|
{
|
[ .stab ]
|
[ .stab ]
|
}
|
}
|
.stabstr 0 ${RELOCATING+(NOLOAD)} :
|
.stabstr 0 ${RELOCATING+(NOLOAD)} :
|
{
|
{
|
[ .stabstr ]
|
[ .stabstr ]
|
}
|
}
|
}
|
}
|
EOF
|
EOF
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.