URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 156 |
Rev 816 |
DATA_ADDR=0x40000000
|
DATA_ADDR=0x40000000
|
test "$LD_FLAG" = "N" && DATA_ADDR=.
|
test "$LD_FLAG" = "N" && DATA_ADDR=.
|
cat <
|
cat <
|
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
|
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
|
OUTPUT_ARCH(${ARCH})
|
OUTPUT_ARCH(${ARCH})
|
ENTRY("\$START\$")
|
ENTRY("\$START\$")
|
${RELOCATING+${LIB_SEARCH_DIRS}}
|
${RELOCATING+${LIB_SEARCH_DIRS}}
|
SECTIONS
|
SECTIONS
|
{
|
{
|
.text 0x1000 ${RELOCATING++${TEXT_START_ADDR}}:
|
.text 0x1000 ${RELOCATING++${TEXT_START_ADDR}}:
|
{
|
{
|
${RELOCATING+__text_start = .};
|
${RELOCATING+__text_start = .};
|
CREATE_OBJECT_SYMBOLS
|
CREATE_OBJECT_SYMBOLS
|
*(.PARISC.stubs)
|
*(.PARISC.stubs)
|
*(.text)
|
*(.text)
|
${RELOCATING+etext = .};
|
${RELOCATING+etext = .};
|
${RELOCATING+_etext = .};
|
${RELOCATING+_etext = .};
|
}
|
}
|
${RELOCATING+. = ${DATA_ADDR};}
|
${RELOCATING+. = ${DATA_ADDR};}
|
.data :
|
.data :
|
{
|
{
|
${RELOCATING+ . = . + 0x1000 };
|
${RELOCATING+ . = . + 0x1000 };
|
${RELOCATING+__data_start = .};
|
${RELOCATING+__data_start = .};
|
*(.data)
|
*(.data)
|
${CONSTRUCTING+CONSTRUCTORS}
|
${CONSTRUCTING+CONSTRUCTORS}
|
${RELOCATING+edata = .};
|
${RELOCATING+edata = .};
|
${RELOCATING+_edata = .};
|
${RELOCATING+_edata = .};
|
}
|
}
|
${RELOCATING+. = ${DATA_ADDR} + SIZEOF(.data);}
|
${RELOCATING+. = ${DATA_ADDR} + SIZEOF(.data);}
|
.bss :
|
.bss :
|
{
|
{
|
*(.bss)
|
*(.bss)
|
*(COMMON)
|
*(COMMON)
|
${RELOCATING+end = . };
|
${RELOCATING+end = . };
|
${RELOCATING+_end = . };
|
${RELOCATING+_end = . };
|
}
|
}
|
}
|
}
|
EOF
|
EOF
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.