From aa9b7dedc82a3270975060524f970f662347a2db Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 28 Oct 1996 23:48:06 +0000 Subject: [PATCH] handle v850.sc --- ld/scripttempl/.Sanitize | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ld/scripttempl/.Sanitize b/ld/scripttempl/.Sanitize index cf3f66c514..0a367668c3 100644 --- a/ld/scripttempl/.Sanitize +++ b/ld/scripttempl/.Sanitize @@ -15,6 +15,14 @@ Do-first: +v850_files="v850.sc" + +if ( echo $* | grep keep\-v850 > /dev/null ) ; then + keep_these_too="${v850_files} ${keep_these_too}" +else + lose_these_too="${v850_files} ${lose_these_too}" +fi + # All files listed between the "Things-to-keep:" line and the # "Do-last:" line will be kept. All other files will be removed. # Directories listed in this section will have their own Sanitize