mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-28 18:10:46 +00:00
2010-04-14 Tristan Gingold <gingold@adacore.com>
* emulparams/alphavms.sh: New file. * emultempl/vms.em: New file. * scripttempl/alphavms.sc: New file. * configure.tgt (alpha*-*-*vms*): Added. * Makefile.am (ALL_EMULATIONS): Add ealphavms.o (ealphavms.c): New target. * Makefile.in: Regenerate.
This commit is contained in:
34
ld/scripttempl/alphavms.sc
Normal file
34
ld/scripttempl/alphavms.sc
Normal file
@@ -0,0 +1,34 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user