From 9921a571984b5697e69ad39bb7714e8694832e8e Mon Sep 17 00:00:00 2001 From: Niklas Hallqvist Date: Thu, 31 Oct 1996 00:31:23 +0000 Subject: Alpha support based on Chris Demetriou's work --- gnu/usr.bin/binutils/ld/scripttempl/alphabsd.sc | 68 +++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 gnu/usr.bin/binutils/ld/scripttempl/alphabsd.sc (limited to 'gnu/usr.bin/binutils/ld/scripttempl') diff --git a/gnu/usr.bin/binutils/ld/scripttempl/alphabsd.sc b/gnu/usr.bin/binutils/ld/scripttempl/alphabsd.sc new file mode 100644 index 00000000000..66feee12e73 --- /dev/null +++ b/gnu/usr.bin/binutils/ld/scripttempl/alphabsd.sc @@ -0,0 +1,68 @@ +# Linker script for {Net,Open}BSD/Alpha systems. +# Ian Lance Taylor . +# These variables may be overridden by the emulation file. The +# defaults are appropriate for an Alpha running NetBSD. +test -z "$ENTRY" && ENTRY=__start +test -z "$TEXT_START_ADDR" && TEXT_START_ADDR="0x120000000 + SIZEOF_HEADERS" +if test "x$LD_FLAG" = "xn" -o "x$LD_FLAG" = "xN"; then + DATA_ADDR=. +else + test -z "$DATA_ADDR" && DATA_ADDR=0x140000000 +fi +cat <