start-sanitize-d10v

Tue Jul 23 10:36:19 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

	* Makefile.in (ed10velf.c): New target.
	* configure.tgt (d10v-*-elf*): New target.
	* emulparams/d10velf.sh: New file.

end-sanitize-d10v
This commit is contained in:
Martin Hunt 1996-07-23 18:00:39 +00:00
parent 9305039104
commit e9525d9673
4 changed files with 45 additions and 0 deletions

View file

@ -114,6 +114,35 @@ else
done
fi
d10v_files="ChangeLog configure.in configure.tgt Makefile.in"
if ( echo $* | grep keep\-d10v > /dev/null ) ; then
for i in $d10v_files ; do
if test ! -d $i && (grep sanitize-d10v $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
echo Keeping d10v stuff in $i
fi
fi
done
else
for i in $d10v_files ; do
if test ! -d $i && (grep sanitize-d10v $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
echo Removing traces of \"d10v\" from $i...
fi
cp $i new
sed '/start\-sanitize\-d10v/,/end-\sanitize\-d10v/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
for i in * ; do
if test ! -d $i && (grep sanitize $i > /dev/null) ; then
echo '***' Some mentions of Sanitize are still left in $i! 1>&2

View file

@ -1,3 +1,11 @@
start-sanitize-d10v
Tue Jul 23 10:36:19 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
* Makefile.in (ed10velf.c): New target.
* configure.tgt (d10v-*-elf*): New target.
* emulparams/d10velf.sh: New file.
end-sanitize-d10v
Thu Jul 18 16:25:39 1996 Ian Lance Taylor <ian@cygnus.com>
* configure.tgt (sparc*-*-sysv4*): New target. From Andrew Gierth

View file

@ -379,6 +379,11 @@ earmpe.c: $(srcdir)/emulparams/armpe.sh \
ecoff_sparc.c: $(srcdir)/emulparams/coff_sparc.sh \
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparccoff.sc ${GEN_DEPENDS}
${GENSCRIPTS} coff_sparc "$(tdir_coff_sparc)"
# start-sanitize-d10v
ed10velf.c: $(srcdir)/emulparams/d10velf.sh \
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
${GENSCRIPTS} d10velf "$(tdir_arcelf)"
# end-sanitize-d10v
edelta68.c: $(srcdir)/emulparams/delta68.sh \
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/delta68.sc ${GEN_DEPENDS}
${GENSCRIPTS} delta68 "$(tdir_delta68)"

View file

@ -15,6 +15,9 @@ arm-*-pe) targ_emul=armpe ;;
# start-sanitize-arc
arc-*-elf*) targ_emul=arcelf ;;
# end-sanitize-arc
# start-sanitize-d10v
d10v-*-elf*) targ_emul=d10velf ;;
# end-sanitize-d10v
sparc64-*-aout*) targ_emul=sparcaout ;;
sparc64-*-elf*) targ_emul=elf64_sparc ;;
sparc-sun-sunos4*) targ_emul=sun4 ;;