Oops. Forgot sanitization.
authorDavid Edelsohn <dje.gcc@gmail.com>
Sat, 20 Jan 1996 17:05:56 +0000 (17:05 +0000)
committerDavid Edelsohn <dje.gcc@gmail.com>
Sat, 20 Jan 1996 17:05:56 +0000 (17:05 +0000)
bfd/.Sanitize
bfd/ChangeLog
bfd/elf32-sparc.c

index 5e4ae30584eedc18e3240c16f8bd43d6a81b9ca8..9c1d0431ad991bdce32ab7992ee0c15dfda0d620 100644 (file)
@@ -356,6 +356,34 @@ else
        done
 fi
 
+v8plus_files="ChangeLog elf32-sparc.c"
+if ( echo $* | grep keep\-v8plus > /dev/null ) ; then
+       for i in $v8plus_files ; do
+               if test ! -d $i && (grep sanitize-v8plus $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Keeping v8plus stuff in $i
+                       fi
+               fi
+       done
+else
+       for i in $v8plus_files ; do
+               if test ! -d $i && (grep sanitize-v8plus $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Removing traces of \"v8plus\" from $i...
+                       fi
+                       cp $i new
+                       sed '/start\-sanitize\-v8plus/,/end-\sanitize\-v8plus/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
index b01dde6e4fc08114d87f0a4cd2f80aae2120078e..8e7c9030a534cb006c08a5c644a4c3596965a7e5 100644 (file)
@@ -1,6 +1,8 @@
+start-sanitize-v8plus
 Sat Jan 20 08:36:10 1996  Doug Evans  <dje@canuck.cygnus.com>
 
        * elf32-sparc.c (ELF_MACHINE_ALT1): Define.
+end-sanitize-v8plus
 
 Thu Jan 18 18:25:34 1996  Kim Knuttila  <krk@cygnus.com>
 
index 6d49de48db23d57d925a786688b99859cc49e22d..2b03c2b73656520461093975bcd3a139b9c75a4c 100644 (file)
@@ -1484,7 +1484,9 @@ elf32_sparc_finish_dynamic_sections (output_bfd, info)
 #define TARGET_BIG_NAME        "elf32-sparc"
 #define ELF_ARCH       bfd_arch_sparc
 #define ELF_MACHINE_CODE EM_SPARC
+/* start-sanitize-v8plus */
 #define ELF_MACHINE_ALT1 EM_SPARC32PLUS
+/* end-sanitize-v8plus */
 #define ELF_MAXPAGESIZE 0x10000
 #define elf_backend_create_dynamic_sections \
                                        _bfd_elf_create_dynamic_sections