From 97837cef65de34f6eb39659fffbfe02b0e9f83a1 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 19 Aug 1998 19:28:50 +0000 Subject: [PATCH] Added missing sanitization markers --- ld/testsuite/.Sanitize | 34 ++++++++++++++++++++++++++++++++++ ld/testsuite/ChangeLog | 4 +++- 2 files changed, 37 insertions(+), 1 deletion(-) diff --git a/ld/testsuite/.Sanitize b/ld/testsuite/.Sanitize index 30a2f978ce9..61e64b50842 100644 --- a/ld/testsuite/.Sanitize +++ b/ld/testsuite/.Sanitize @@ -45,4 +45,38 @@ Things-to-lose: Do-last: +armelf_files="ChangeLog" +if ( echo $* | grep keep\-armelf > /dev/null ) ; then + for i in $armelf_files ; do + if test ! -d $i && (grep sanitize-armelf $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping armelf stuff in $i + fi + fi + done +else + for i in $armelf_files ; do + if test ! -d $i && (grep sanitize-armelf $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"armelf\" from $i... + fi + cp $i new + sed '/start\-sanitize\-armelf/,/end-\sanitize\-armelf/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 + fi +done + #eof diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index f178ae6722f..c1d901b2db5 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,7 +1,9 @@ +start-sanitize-armelf Wed Aug 19 11:59:19 1998 Nick Clifton * ld-srec/srec.exp: Add arm/thumb-elf expected failures. - +end-sanitize-armelf + Thu Aug 13 12:41:58 1998 Ian Lance Taylor * ld-bootstrap/bootstrap.exp: Don't run the --static bootstrap -- 2.30.2