From 42f9673d8b0cef9323a8e2865bd3c89477d95050 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 19 Oct 1993 19:52:33 +0000 Subject: [PATCH] New files for Alpha linker. --- ld/config/.Sanitize | 1 + ld/config/alpha.mt | 1 + ld/emulparams/.Sanitize | 1 + ld/emulparams/alpha.sh | 3 ++ ld/scripttempl/.Sanitize | 1 + ld/scripttempl/alpha.sc | 69 ++++++++++++++++++++++++++++++++++++++++ 6 files changed, 76 insertions(+) create mode 100644 ld/config/alpha.mt create mode 100644 ld/emulparams/alpha.sh create mode 100644 ld/scripttempl/alpha.sc diff --git a/ld/config/.Sanitize b/ld/config/.Sanitize index 99d980dda9c..1dfc83c4e1b 100644 --- a/ld/config/.Sanitize +++ b/ld/config/.Sanitize @@ -24,6 +24,7 @@ Do-first: Things-to-keep: +alpha.mt alphaosf.mh coff-a29k.mt coff-h8300.mt diff --git a/ld/config/alpha.mt b/ld/config/alpha.mt new file mode 100644 index 00000000000..28d9649490f --- /dev/null +++ b/ld/config/alpha.mt @@ -0,0 +1 @@ +EMUL=alpha diff --git a/ld/emulparams/.Sanitize b/ld/emulparams/.Sanitize index fb216f2d5b5..492f5cbe90f 100644 --- a/ld/emulparams/.Sanitize +++ b/ld/emulparams/.Sanitize @@ -26,6 +26,7 @@ Things-to-keep: README a29k.sh +alpha.sh ebmon29k.sh elf32_sparc.sh elf64_sparc.sh diff --git a/ld/emulparams/alpha.sh b/ld/emulparams/alpha.sh new file mode 100644 index 00000000000..141923f7170 --- /dev/null +++ b/ld/emulparams/alpha.sh @@ -0,0 +1,3 @@ +SCRIPT_NAME=alpha +OUTPUT_FORMAT="ecoff-littlealpha" +ARCH=alpha diff --git a/ld/scripttempl/.Sanitize b/ld/scripttempl/.Sanitize index e2a8f1fb6be..360780c0a9a 100644 --- a/ld/scripttempl/.Sanitize +++ b/ld/scripttempl/.Sanitize @@ -26,6 +26,7 @@ Things-to-keep: README a29k.sc +alpha.sc aout.sc ebmon29k.sc elf.sc diff --git a/ld/scripttempl/alpha.sc b/ld/scripttempl/alpha.sc new file mode 100644 index 00000000000..e4deafbf0f3 --- /dev/null +++ b/ld/scripttempl/alpha.sc @@ -0,0 +1,69 @@ +# Linker script for Alpha systems. +# Ian Lance Taylor . +# These variables may be overridden by the emulation file. The +# defaults are appropriate for an Alpha running OSF/1. +test -z "$ENTRY" && ENTRY=__start +test -z "$TEXT_START_ADDR" && TEXT_START_ADDR="0x120000000 + SIZEOF_HEADERS" +test -z "$DATA_ADDR" && DATA_ADDR=0x140000000 +cat <