diff options
author | Tristan Gingold <gingold@adacore.com> | 2010-04-14 09:27:27 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2010-04-14 09:27:27 +0000 |
commit | 8b351884bbc7ae74cad91991c60cbb1cd3f5e59f (patch) | |
tree | 6fea5cf936ec0a55a823ec20fc446f67b66018c2 /ld/scripttempl/alphavms.sc | |
parent | d8703844ce007b20c4710c78747b6c0c5a7b494b (diff) | |
download | gdb-8b351884bbc7ae74cad91991c60cbb1cd3f5e59f.zip gdb-8b351884bbc7ae74cad91991c60cbb1cd3f5e59f.tar.gz gdb-8b351884bbc7ae74cad91991c60cbb1cd3f5e59f.tar.bz2 |
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.
Diffstat (limited to 'ld/scripttempl/alphavms.sc')
-rw-r--r-- | ld/scripttempl/alphavms.sc | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/ld/scripttempl/alphavms.sc b/ld/scripttempl/alphavms.sc new file mode 100644 index 0000000..ed4ec68 --- /dev/null +++ b/ld/scripttempl/alphavms.sc @@ -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 |