From 66e4c229785d41c5b2faa42fcc3de2da954bb0d4 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Mon, 9 Sep 1996 19:37:47 +0000 Subject: [PATCH 1/1] * config.bfd,configure.in,configure: Add m32r support. --- bfd/.Sanitize | 28 ++++++++++++++++++++++++++++ bfd/ChangeLog | 3 +++ 2 files changed, 31 insertions(+) diff --git a/bfd/.Sanitize b/bfd/.Sanitize index 5558c7f083..668f47c556 100644 --- a/bfd/.Sanitize +++ b/bfd/.Sanitize @@ -333,6 +333,34 @@ else done fi +m32r_files="ChangeLog config.bfd configure.in configure" +if ( echo $* | grep keep\-m32r > /dev/null ) ; then + for i in $m32r_files ; do + if test ! -d $i && (grep sanitize-m32r $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping m32r stuff in $i + fi + fi + done +else + for i in $m32r_files ; do + if test ! -d $i && (grep sanitize-m32r $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"m32r\" from $i... + fi + cp $i new + sed '/start\-sanitize\-m32r/,/end-\sanitize\-m32r/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 + v850_files="ChangeLog ChangeLog.2 Makefile.in archures.c reloc.c targets.c config.bfd configure.in configure bfd-in2.h elf.c libbfd.h" if ( echo $* | grep keep\-v850 > /dev/null ) ; then for i in $v850_files ; do diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 2935292e6e..22bc29216d 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,8 @@ Mon Sep 9 12:31:22 1996 Doug Evans +start-sanitize-m32r + * config.bfd,configure.in,configure: Add m32r support. +end-sanitize-m32r * config.bfd: Keep target list alphabetically sorted. start-sanitize-v850 -- 2.34.1