mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 20:28:28 +08:00
Removed v850eq sanitization.
This commit is contained in:
@ -31,13 +31,6 @@ else
|
|||||||
lose_these_too="${tic80_files} ${lose_these_too}"
|
lose_these_too="${tic80_files} ${lose_these_too}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ( echo $* | grep keep\-v850 > /dev/null ) ; then
|
|
||||||
keep_these_too="v850-opc.c v850-dis.c ${keep_these_too}"
|
|
||||||
else
|
|
||||||
lose_these_too="v850-opc.c v850-dis.c ${lose_these_too}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
# All files listed between the "Things-to-keep:" line and the
|
# All files listed between the "Things-to-keep:" line and the
|
||||||
# "Files-to-sed:" line will be kept. All other files will be removed.
|
# "Files-to-sed:" line will be kept. All other files will be removed.
|
||||||
# Directories listed in this section will have their own Sanitize
|
# Directories listed in this section will have their own Sanitize
|
||||||
@ -105,6 +98,8 @@ stamp-h.in
|
|||||||
sysdep.h
|
sysdep.h
|
||||||
w65-dis.c
|
w65-dis.c
|
||||||
w65-opc.h
|
w65-opc.h
|
||||||
|
v850-opc.c
|
||||||
|
v850-dis.c
|
||||||
z8k-dis.c
|
z8k-dis.c
|
||||||
z8k-opc.h
|
z8k-opc.h
|
||||||
z8kgen.c
|
z8kgen.c
|
||||||
@ -142,33 +137,6 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
v850e_files="ChangeLog Makefile.in Makefile.am configure.in configure disassemble.c v850-opc.c v850-dis.c"
|
v850e_files="ChangeLog Makefile.in Makefile.am configure.in configure disassemble.c v850-opc.c v850-dis.c"
|
||||||
|
|
||||||
if ( echo $* | grep keep\-v850eq > /dev/null ) ; then
|
|
||||||
for i in $v850e_files ; do
|
|
||||||
if test -f $i && (grep sanitize-v850eq $i > /dev/null) ; then
|
|
||||||
if [ -n "${verbose}" ] ; then
|
|
||||||
echo Keeping v850eq stuff in $i
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
else
|
|
||||||
for i in $v850e_files ; do
|
|
||||||
if test -f $i && (grep sanitize-v850eq $i > /dev/null) ; then
|
|
||||||
if [ -n "${verbose}" ] ; then
|
|
||||||
echo Removing traces of \"v850eq\" from $i...
|
|
||||||
fi
|
|
||||||
cp $i new
|
|
||||||
sed '/start\-sanitize\-v850eq/,/end\-sanitize\-v850eq/d' < $i > new
|
|
||||||
if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
|
|
||||||
if [ -n "${verbose}" ] ; then
|
|
||||||
echo Caching $i in .Recover...
|
|
||||||
fi
|
|
||||||
mv $i .Recover
|
|
||||||
fi
|
|
||||||
mv new $i
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
if ( echo $* | grep keep\-v850e > /dev/null ) ; then
|
if ( echo $* | grep keep\-v850e > /dev/null ) ; then
|
||||||
for i in $v850e_files ; do
|
for i in $v850e_files ; do
|
||||||
if test -f $i && (grep sanitize-v850e $i > /dev/null) ; then
|
if test -f $i && (grep sanitize-v850e $i > /dev/null) ; then
|
||||||
|
Reference in New Issue
Block a user