mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 12:23:31 +08:00
* arc.h: New file.
* common.h (EM_CYGNUS_ARC): Define. Plus remove arc sanitization.
This commit is contained in:
@ -17,14 +17,6 @@
|
|||||||
|
|
||||||
Do-first:
|
Do-first:
|
||||||
|
|
||||||
arc_files="arc.h"
|
|
||||||
|
|
||||||
if ( echo $* | grep keep\-arc > /dev/null ) ; then
|
|
||||||
keep_these_too="${arc_files} ${keep_these_too}"
|
|
||||||
else
|
|
||||||
lose_these_too="${arc_files} ${lose_these_too}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
v850_files="v850.h"
|
v850_files="v850.h"
|
||||||
|
|
||||||
if ( echo $* | grep keep\-v850 > /dev/null ) ; then
|
if ( echo $* | grep keep\-v850 > /dev/null ) ; then
|
||||||
@ -58,34 +50,6 @@ Things-to-lose:
|
|||||||
|
|
||||||
Do-last:
|
Do-last:
|
||||||
|
|
||||||
arc_files="ChangeLog common.h"
|
|
||||||
if ( echo $* | grep keep\-arc > /dev/null ) ; then
|
|
||||||
for i in $arc_files ; do
|
|
||||||
if test ! -d $i && (grep sanitize-arc $i > /dev/null) ; then
|
|
||||||
if [ -n "${verbose}" ] ; then
|
|
||||||
echo Keeping arc stuff in $i
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
else
|
|
||||||
for i in $arc_files ; do
|
|
||||||
if test ! -d $i && (grep sanitize-arc $i > /dev/null) ; then
|
|
||||||
if [ -n "${verbose}" ] ; then
|
|
||||||
echo Removing traces of \"arc\" from $i...
|
|
||||||
fi
|
|
||||||
cp $i new
|
|
||||||
sed '/start\-sanitize\-arc/,/end-\sanitize\-arc/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
|
|
||||||
|
|
||||||
d30v_files="ChangeLog common.h"
|
d30v_files="ChangeLog common.h"
|
||||||
if ( echo $* | grep keep\-d30v > /dev/null ) ; then
|
if ( echo $* | grep keep\-d30v > /dev/null ) ; then
|
||||||
for i in $d30v_files ; do
|
for i in $d30v_files ; do
|
||||||
|
Reference in New Issue
Block a user