From de61c9e1f30915edced6f787f08321991a2d6cc1 Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Fri, 1 Nov 1996 02:14:43 +0000 Subject: [PATCH] Fix sanitization of D10V script template --- ld/scripttempl/.Sanitize | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/ld/scripttempl/.Sanitize b/ld/scripttempl/.Sanitize index 0a367668c3..11a99bd64c 100644 --- a/ld/scripttempl/.Sanitize +++ b/ld/scripttempl/.Sanitize @@ -15,6 +15,14 @@ Do-first: +d10v_files="elfd10v.sc" + +if ( echo $* | grep keep\-d10v > /dev/null ) ; then + keep_these_too="${d10v_files} ${keep_these_too}" +else + lose_these_too="${d10v_files} ${lose_these_too}" +fi + v850_files="v850.sc" if ( echo $* | grep keep\-v850 > /dev/null ) ; then @@ -41,7 +49,6 @@ aout.sc delta68.sc ebmon29k.sc elf.sc -elfd10v.sc elfmips.sc elfppc.sc go32coff.sc