From: David Edelsohn Date: Wed, 14 Dec 1994 00:44:50 +0000 (+0000) Subject: Initial arc-elf support. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=070ac727960de3a5aef5b6f4c01c24d83c30a1f4;p=binutils-gdb.git Initial arc-elf support. --- diff --git a/ld/config/.Sanitize b/ld/config/.Sanitize index 47ae500998f..f9b7e8959fe 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 00000000000..474217de70b --- /dev/null +++ b/ld/config/arc-elf.mt @@ -0,0 +1 @@ +EMUL=arcelf diff --git a/ld/emulparams/.Sanitize b/ld/emulparams/.Sanitize index fb1c82a5987..388c8befb7a 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