mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 19:50:13 +08:00
unsanitizing v9
This commit is contained in:
@ -15,12 +15,6 @@
|
|||||||
|
|
||||||
Do-first:
|
Do-first:
|
||||||
|
|
||||||
if ( echo $* | grep keep\-v9 > /dev/null ) ; then
|
|
||||||
keep_these_too="elf64-sparc.c"
|
|
||||||
else
|
|
||||||
lose_these_too="elf64-sparc.c"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if ( echo $* | grep keep\-mpw > /dev/null ) ; then
|
if ( echo $* | grep keep\-mpw > /dev/null ) ; then
|
||||||
keep_these_too="mpw-make.in mpw-config.in ChangeLog.mpw ${keep_these_too}"
|
keep_these_too="mpw-make.in mpw-config.in ChangeLog.mpw ${keep_these_too}"
|
||||||
else
|
else
|
||||||
@ -132,6 +126,7 @@ elf32-sparc.c
|
|||||||
elf32-target.h
|
elf32-target.h
|
||||||
elf32.c
|
elf32.c
|
||||||
elf64-gen.c
|
elf64-gen.c
|
||||||
|
elf64-sparc.c
|
||||||
elf64-target.h
|
elf64-target.h
|
||||||
elf64.c
|
elf64.c
|
||||||
elfcode.h
|
elfcode.h
|
||||||
@ -209,29 +204,6 @@ Things-to-lose:
|
|||||||
|
|
||||||
Do-last:
|
Do-last:
|
||||||
|
|
||||||
v9files="configure.in elfcode.h reloc.c bfd-in2.h targets.c config.bfd"
|
|
||||||
if ( echo $* | grep keep\-v9 > /dev/null ) ; then
|
|
||||||
if [ -n "${verbose}" ] ; then
|
|
||||||
echo Keeping v9 stuff in $v9files.
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
if [ -n "${verbose}" ]; then
|
|
||||||
echo -n Cleaning v9 in `pwd`:
|
|
||||||
fi
|
|
||||||
for f in $v9files ; do
|
|
||||||
if [ -n "${verbose}" ] ; then
|
|
||||||
echo -n " " $f
|
|
||||||
fi
|
|
||||||
sed '/start\-sanitize\-v9/,/end\-sanitize\-v9/d' < $f > new
|
|
||||||
if [ -n "${safe}" ] ; then
|
|
||||||
mv $f .Recover
|
|
||||||
fi
|
|
||||||
mv new $f
|
|
||||||
done
|
|
||||||
chmod a+x config.bfd
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
mpwfiles="coffswap.h"
|
mpwfiles="coffswap.h"
|
||||||
if ( echo $* | grep keep\-mpw > /dev/null ) ; then
|
if ( echo $* | grep keep\-mpw > /dev/null ) ; then
|
||||||
if [ -n "${verbose}" ] ; then
|
if [ -n "${verbose}" ] ; then
|
||||||
|
Reference in New Issue
Block a user