mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 15:18:37 +08:00
remove m32r sanitization
This commit is contained in:
@ -33,14 +33,6 @@ else
|
|||||||
lose_these_too="${v850_files} ${lose_these_too}"
|
lose_these_too="${v850_files} ${lose_these_too}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
m32r_files="m32r.h"
|
|
||||||
|
|
||||||
if ( echo $* | grep keep\-m32r > /dev/null ) ; then
|
|
||||||
keep_these_too="${m32r_files} ${keep_these_too}"
|
|
||||||
else
|
|
||||||
lose_these_too="${m32r_files} ${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
|
||||||
@ -57,6 +49,7 @@ dwarf2.h
|
|||||||
external.h
|
external.h
|
||||||
hppa.h
|
hppa.h
|
||||||
internal.h
|
internal.h
|
||||||
|
m32r.h
|
||||||
mips.h
|
mips.h
|
||||||
ppc.h
|
ppc.h
|
||||||
sparc.h
|
sparc.h
|
||||||
@ -121,34 +114,6 @@ else
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
m32r_files="ChangeLog common.h"
|
|
||||||
if ( echo $* | grep keep\-m32r > /dev/null ) ; then
|
|
||||||
for i in $m32r_files ; do
|
|
||||||
if test ! -d $i && (grep sanitize-m32r $i > /dev/null) ; then
|
|
||||||
if [ -n "${verbose}" ] ; then
|
|
||||||
echo Keeping m32r stuff in $i
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
else
|
|
||||||
for i in $m32r_files ; do
|
|
||||||
if test ! -d $i && (grep sanitize-m32r $i > /dev/null) ; then
|
|
||||||
if [ -n "${verbose}" ] ; then
|
|
||||||
echo Removing traces of \"m32r\" from $i...
|
|
||||||
fi
|
|
||||||
cp $i new
|
|
||||||
sed '/start\-sanitize\-m32r/,/end-\sanitize\-m32r/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
|
|
||||||
|
|
||||||
v850_files="ChangeLog common.h"
|
v850_files="ChangeLog common.h"
|
||||||
if ( echo $* | grep keep\-v850 > /dev/null ) ; then
|
if ( echo $* | grep keep\-v850 > /dev/null ) ; then
|
||||||
for i in $v850_files ; do
|
for i in $v850_files ; do
|
||||||
|
Reference in New Issue
Block a user