mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
35 lines
535 B
Python
35 lines
535 B
Python
|
# Linker script for Alpha VMS systems.
|
||
|
# Tristan Gingold <gingold@adacore.com>.
|
||
|
|
||
|
PAGESIZE=0x10000
|
||
|
|
||
|
cat <<EOF
|
||
|
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
|
||
|
${LIB_SEARCH_DIRS}
|
||
|
|
||
|
SECTIONS
|
||
|
{
|
||
|
${RELOCATING+. = ${PAGESIZE};}
|
||
|
|
||
|
\$DATA\$ ALIGN (${PAGESIZE}) : {
|
||
|
*(\$DATA\$)
|
||
|
*(\$LINK\$)
|
||
|
}
|
||
|
\$BSS\$ ALIGN (${PAGESIZE}) : {
|
||
|
*(\$BSS\$)
|
||
|
}
|
||
|
\$CODE\$ ALIGN (${PAGESIZE}) : {
|
||
|
*(\$CODE\$)
|
||
|
}
|
||
|
\$LITERAL\$ ALIGN (${PAGESIZE}) : {
|
||
|
*(\$LITERAL\$)
|
||
|
*(\$READONLY\$)
|
||
|
*(\$READONLY_ADDR\$)
|
||
|
}
|
||
|
|
||
|
\$DST\$ 0 : {
|
||
|
*(\$DST\$)
|
||
|
}
|
||
|
}
|
||
|
EOF
|