diff options
author | Martin Hunt <hunt@redhat.com> | 1996-07-23 18:00:39 +0000 |
---|---|---|
committer | Martin Hunt <hunt@redhat.com> | 1996-07-23 18:00:39 +0000 |
commit | e9525d967335a937c596bca942590c9794daaec1 (patch) | |
tree | 73d1a7da506b4ed66476403705ed1739591c8e46 /ld | |
parent | 9305039104d98456e975a675e65d791fa0a3e80b (diff) | |
download | gdb-e9525d967335a937c596bca942590c9794daaec1.zip gdb-e9525d967335a937c596bca942590c9794daaec1.tar.gz gdb-e9525d967335a937c596bca942590c9794daaec1.tar.bz2 |
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
Diffstat (limited to 'ld')
-rw-r--r-- | ld/.Sanitize | 29 | ||||
-rw-r--r-- | ld/ChangeLog | 8 | ||||
-rw-r--r-- | ld/Makefile.in | 5 | ||||
-rw-r--r-- | ld/configure.tgt | 3 |
4 files changed, 45 insertions, 0 deletions
diff --git a/ld/.Sanitize b/ld/.Sanitize index 3d6589c..a68cbf9 100644 --- a/ld/.Sanitize +++ b/ld/.Sanitize @@ -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 diff --git a/ld/ChangeLog b/ld/ChangeLog index 99748b6..0543913 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -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 diff --git a/ld/Makefile.in b/ld/Makefile.in index 3456481..b83befe 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in @@ -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)" diff --git a/ld/configure.tgt b/ld/configure.tgt index 63934f7..c094d2a 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -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 ;; |