From: Doug Evans Date: Fri, 5 Jun 1998 22:58:06 +0000 (+0000) Subject: * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Set vma to 0 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bf86ea82b36742cacfa6c06f37a2fb1aa4a5d22c;p=binutils-gdb.git * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Set vma to 0 for .DVP.overlay.*. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 6614f6969c7..404da2a082c 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,10 @@ +start-sanitize-sky +Fri Jun 5 15:55:26 1998 Doug Evans + + * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Set vma to 0 + for .DVP.overlay.*. + +end-sanitize-sky Fri Jun 5 18:19:59 1998 Ian Lance Taylor * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Set diff --git a/ld/emultempl/.Sanitize b/ld/emultempl/.Sanitize index d716374ff5f..9da03debc67 100644 --- a/ld/emultempl/.Sanitize +++ b/ld/emultempl/.Sanitize @@ -48,3 +48,36 @@ Things-to-lose: Do-last: +sky_files="elf32.em" +if ( echo $* | grep keep\-sky > /dev/null ) ; then + for i in $sky_files ; do + if test ! -d $i && (grep sanitize-sky $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping sky stuff in $i + fi + fi + done +else + for i in $sky_files ; do + if test ! -d $i && (grep sanitize-sky $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"sky\" from $i... + fi + cp $i new + sed '/start\-sanitize\-sky/,/end-\sanitize\-sky/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