aboutsummaryrefslogtreecommitdiff
path: root/gas/config/.Sanitize
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1993-07-07 16:19:59 +0000
committerKen Raeburn <raeburn@cygnus>1993-07-07 16:19:59 +0000
commitdee576a0a7ae2fcc375b56ad10bee4845a8c2452 (patch)
tree95ffe4712aa2a5a55c9f375b09f16d9424827275 /gas/config/.Sanitize
parent25c09bbf443f7b63dbdb0304c94e100f4ed0def7 (diff)
downloadgdb-dee576a0a7ae2fcc375b56ad10bee4845a8c2452.zip
gdb-dee576a0a7ae2fcc375b56ad10bee4845a8c2452.tar.gz
gdb-dee576a0a7ae2fcc375b56ad10bee4845a8c2452.tar.bz2
clean v9 from obj-elf.h
Diffstat (limited to 'gas/config/.Sanitize')
-rw-r--r--gas/config/.Sanitize8
1 files changed, 7 insertions, 1 deletions
diff --git a/gas/config/.Sanitize b/gas/config/.Sanitize
index 7bd3253..79b1eb2 100644
--- a/gas/config/.Sanitize
+++ b/gas/config/.Sanitize
@@ -145,7 +145,7 @@ Things-to-lose:
Do-last:
if ( echo $* | grep keep\-v9 > /dev/null ) ; then
- echo Keeping tc-sparc64 and v9 stuff in tc-sparc.c.
+ echo Keeping tc-sparc64 and v9 stuff in tc-sparc.c obj-elf.h.
else
echo Cleaning tc-sparc.c...
sed '/start\-sanitize/,/end-sanitize/d' < tc-sparc.c > new
@@ -153,6 +153,12 @@ else
cp tc-sparc.c .Recover
fi
mv new tc-sparc.c
+ echo Cleaning obj-elf.h...
+ grep -v v9 < obj-elf.h > new
+ if [ -n "${safe}" ] ; then
+ cp obj-elf.h .Recover
+ fi
+ mv new obj-elf.h
echo Deleting tc-sparc64 files.
rm -f tc-sparc64.c tc-sparc64.h
fi