diff options
author | Doug Evans <dje@google.com> | 1998-06-05 22:58:06 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 1998-06-05 22:58:06 +0000 |
commit | bf86ea82b36742cacfa6c06f37a2fb1aa4a5d22c (patch) | |
tree | e66210378718dd73264b2a19b4418ca3e5998e7d /ld | |
parent | aaaf948f2d4a69e934cb70f5cccaae1a0a0194a4 (diff) | |
download | gdb-bf86ea82b36742cacfa6c06f37a2fb1aa4a5d22c.zip gdb-bf86ea82b36742cacfa6c06f37a2fb1aa4a5d22c.tar.gz gdb-bf86ea82b36742cacfa6c06f37a2fb1aa4a5d22c.tar.bz2 |
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Set vma to 0
for .DVP.overlay.*.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 7 | ||||
-rw-r--r-- | ld/emultempl/.Sanitize | 33 |
2 files changed, 40 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 6614f69..404da2a 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -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 diff --git a/ld/emultempl/.Sanitize b/ld/emultempl/.Sanitize index d716374..9da03de 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 |