From 070ac727960de3a5aef5b6f4c01c24d83c30a1f4 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Wed, 14 Dec 1994 00:44:50 +0000 Subject: [PATCH] Initial arc-elf support. --- ld/config/.Sanitize | 8 ++++++++ ld/config/arc-elf.mt | 1 + ld/emulparams/.Sanitize | 8 ++++++++ 3 files changed, 17 insertions(+) create mode 100644 ld/config/arc-elf.mt diff --git a/ld/config/.Sanitize b/ld/config/.Sanitize index 47ae500..f9b7e89 100644 --- a/ld/config/.Sanitize +++ b/ld/config/.Sanitize @@ -15,6 +15,14 @@ Do-first: +arc_files="arc-elf.mt" + +if ( echo $* | grep keep\-arc > /dev/null ) ; then + keep_these_too="${arc_files} ${keep_these_too}" +else + lose_these_too="${arc_files} ${lose_these_too}" +fi + rce_files="rce-aout.mt" if ( echo $* | grep keep\-rce > /dev/null ) ; then diff --git a/ld/config/arc-elf.mt b/ld/config/arc-elf.mt new file mode 100644 index 0000000..474217d --- /dev/null +++ b/ld/config/arc-elf.mt @@ -0,0 +1 @@ +EMUL=arcelf diff --git a/ld/emulparams/.Sanitize b/ld/emulparams/.Sanitize index fb1c82a..388c8be 100644 --- a/ld/emulparams/.Sanitize +++ b/ld/emulparams/.Sanitize @@ -15,6 +15,14 @@ Do-first: +arc_files="arcelf.sh" + +if ( echo $* | grep keep\-arc > /dev/null ) ; then + keep_these_too="${arc_files} ${keep_these_too}" +else + lose_these_too="${arc_files} ${lose_these_too}" +fi + rce_files="rce.sh" if ( echo $* | grep keep\-rce > /dev/null ) ; then -- 2.7.4