diff options
-rw-r--r-- | ld/.Sanitize | 29 | ||||
-rw-r--r-- | ld/ChangeLog | 6 | ||||
-rw-r--r-- | ld/configure.tgt | 4 |
3 files changed, 39 insertions, 0 deletions
diff --git a/ld/.Sanitize b/ld/.Sanitize index 9099f2a..217c7ae 100644 --- a/ld/.Sanitize +++ b/ld/.Sanitize @@ -118,6 +118,35 @@ else done fi +tx49_files="ChangeLog configure.tgt" + +if ( echo $* | grep keep\-tx49 > /dev/null ) ; then + for i in $tx49_files ; do + if test ! -d $i && (grep sanitize-tx49 $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping tx49 stuff in $i + fi + fi + done +else + for i in $tx49_files ; do + if test ! -d $i && (grep sanitize-tx49 $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"tx49\" from $i... + fi + cp $i new + sed '/start\-sanitize\-tx49/,/end-\sanitize\-tx49/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 + r5900_files="ChangeLog configure.tgt" if ( echo $* | grep keep\-r5900 > /dev/null ) ; then diff --git a/ld/ChangeLog b/ld/ChangeLog index 0969323..1915fa8 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +start-sanitize-tx49 +Wed Oct 29 17:50:26 1997 Gavin Koch <gavin@cygnus.com> + + * configure.tgt: Add tx49 configury. + +end-sanitize-tx49 Thu Oct 23 14:38:18 1997 Nick Clifton <nickc@cygnus.com> * scripttempl/v850.sc: Rename linker symbol '_stack' to '__stack' diff --git a/ld/configure.tgt b/ld/configure.tgt index 9337924..7f419ea 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -153,6 +153,10 @@ mips*vr4100el-*-elf*) targ_emul=elf32l4300 ;; mips*vr4100-*-elf*) targ_emul=elf32b4300 ;; mips*vr5000el-*-elf*) targ_emul=elf32l4300 ;; mips*vr5000-*-elf*) targ_emul=elf32b4300 ;; +# start-sanitize-tx49 +mips*tx49el-*-elf*) targ_emul=elf32l4300 ;; +mips*tx49-*-elf*) targ_emul=elf32b4300 ;; +# end-sanitize-tx49 # start-sanitize-r5900 mips*r5900*-*-elf*) targ_emul=elf32l4300 ;; # end-sanitize-r5900 |