mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-01-24 18:35:28 +00:00
v9 unsanitization
This commit is contained in:
parent
346a6d5982
commit
708e18fdc6
@ -121,8 +121,6 @@ tc-sh.c
|
||||
tc-sh.h
|
||||
tc-sparc.c
|
||||
tc-sparc.h
|
||||
tc-sparc64.c
|
||||
tc-sparc64.h
|
||||
tc-tahoe.c
|
||||
tc-tahoe.h
|
||||
tc-vax.c
|
||||
@ -151,27 +149,4 @@ Things-to-lose:
|
||||
|
||||
Do-last:
|
||||
|
||||
if ( echo $* | grep keep\-v9 > /dev/null ) ; then
|
||||
echo Keeping v9 stuff in `pwd`/tc-sparc'*' and obj-elf.h.
|
||||
else
|
||||
echo Cleaning `pwd`/tc-sparc.c...
|
||||
sed '/start\-sanitize/,/end-sanitize/d' < tc-sparc.c > new
|
||||
if [ -n "${safe}" ] ; then
|
||||
cp tc-sparc.c .Recover
|
||||
fi
|
||||
mv new tc-sparc.c
|
||||
echo Cleaning `pwd`/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 in `pwd`.
|
||||
if [ -n "${safe}" ] ; then
|
||||
mv -f tc-sparc64.c tc-sparc64.h .Recover
|
||||
else
|
||||
rm -f tc-sparc64.c tc-sparc64.h
|
||||
fi
|
||||
fi
|
||||
|
||||
# End of file.
|
||||
|
@ -1 +0,0 @@
|
||||
#include "config/tc-sparc.c"
|
@ -1,2 +0,0 @@
|
||||
#define sparcv9
|
||||
#include "config/tc-sparc.h"
|
Loading…
x
Reference in New Issue
Block a user