aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-10-28 23:48:06 +0000
committerIan Lance Taylor <ian@airs.com>1996-10-28 23:48:06 +0000
commitaa9b7dedc82a3270975060524f970f662347a2db (patch)
treee40246e6d88212856f28f50cec5665c93075f74e /ld/scripttempl
parent56f8bcd12936b33864dae96b3a9a37e455adde6c (diff)
downloadgdb-aa9b7dedc82a3270975060524f970f662347a2db.zip
gdb-aa9b7dedc82a3270975060524f970f662347a2db.tar.gz
gdb-aa9b7dedc82a3270975060524f970f662347a2db.tar.bz2
handle v850.sc
Diffstat (limited to 'ld/scripttempl')
-rw-r--r--ld/scripttempl/.Sanitize8
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/scripttempl/.Sanitize b/ld/scripttempl/.Sanitize
index cf3f66c..0a36766 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