* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Set vma to 0
authorDoug Evans <dje@google.com>
Fri, 5 Jun 1998 22:58:06 +0000 (22:58 +0000)
committerDoug Evans <dje@google.com>
Fri, 5 Jun 1998 22:58:06 +0000 (22:58 +0000)
for .DVP.overlay.*.

ld/ChangeLog
ld/emultempl/.Sanitize

index 6614f6969c79c6ccdaa6edead7fcf12654248113..404da2a082c409446a03a18804163224d2bff54b 100644 (file)
@@ -1,3 +1,10 @@
+start-sanitize-sky
+Fri Jun  5 15:55:26 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * 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  <ian@cygnus.com>
 
        * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Set
index d716374ff5f682c88fe379fdfbb8f788d81b542c..9da03debc673067e15a5afc5a27e52e435d59936 100644 (file)
@@ -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