mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-28 20:43:45 +08:00
*** empty log message ***
This commit is contained in:
parent
03c4ce2fcc
commit
ff030c9827
18
ld/.Sanitize
18
ld/.Sanitize
@ -106,24 +106,24 @@ else
|
||||
done
|
||||
fi
|
||||
|
||||
r16_files = "configure.in"
|
||||
rce_files="configure.in"
|
||||
|
||||
if ( echo $* | grep keep\-r16 > /dev/null ) ; then
|
||||
for i in $r16_files ; do
|
||||
if test ! -d $i && (grep sanitize-r16 $i > /dev/null) ; then
|
||||
if ( echo $* | grep keep\-rce > /dev/null ) ; then
|
||||
for i in $rce_files ; do
|
||||
if test ! -d $i && (grep sanitize-rce $i > /dev/null) ; then
|
||||
if [ -n "${verbose}" ] ; then
|
||||
echo Keeping r16 stuff in $i
|
||||
echo Keeping rce stuff in $i
|
||||
fi
|
||||
fi
|
||||
done
|
||||
else
|
||||
for i in $r16_files ; do
|
||||
if test ! -d $i && (grep sanitize-r16 $i > /dev/null) ; then
|
||||
for i in $rce_files ; do
|
||||
if test ! -d $i && (grep sanitize-rce $i > /dev/null) ; then
|
||||
if [ -n "${verbose}" ] ; then
|
||||
echo Removing traces of \"r16\" from $i...
|
||||
echo Removing traces of \"rce\" from $i...
|
||||
fi
|
||||
cp $i new
|
||||
sed '/start\-sanitize\-r16/,/end-\sanitize\-r16/d' < $i > new
|
||||
sed '/start\-sanitize\-rce/,/end-\sanitize\-rce/d' < $i > new
|
||||
if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
|
||||
if [ -n "${verbose}" ] ; then
|
||||
echo Caching $i in .Recover...
|
||||
|
@ -89,9 +89,9 @@ case "${targ}" in
|
||||
h8300h-*-hms) ld_target=cf-h8300h ;;
|
||||
h8500-*-hms) ld_target=coff-h8500 ;;
|
||||
sh-*-*) ld_target=coff-sh ;;
|
||||
# start-sanitize-r16
|
||||
r16-*-*) ld_target=r16-aout ;;
|
||||
# end-sanitize-r16
|
||||
# start-sanitize-rce
|
||||
rce-*-*) ld_target=rce-aout ;;
|
||||
# end-sanitize-rce
|
||||
m68k-sony-*) ld_target=news ;;
|
||||
m68k-hp-bsd*) ld_target=hp300bsd ;;
|
||||
m68*-*-aout) ld_target=m68k ;;
|
||||
|
Loading…
Reference in New Issue
Block a user