remove d30v sanitization
authorIan Lance Taylor <ian@airs.com>
Fri, 24 Jul 1998 04:27:42 +0000 (04:27 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 24 Jul 1998 04:27:42 +0000 (04:27 +0000)
binutils/.Sanitize
binutils/Makefile.am
binutils/Makefile.in
binutils/readelf.c
binutils/testsuite/binutils-all/.Sanitize

index 904390c1ddc24971768e3f6414162d2eaa9f4864..2c296966f2b7fc8e99a826d1bf97f9850a6d50c6 100644 (file)
@@ -181,34 +181,6 @@ else
        done
 fi
 
-d30v_files="readelf.c"
-if ( echo $* | grep keep\-d30v > /dev/null ) ; then
-       for i in $d30v_files ; do
-               if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then
-                       if [ -n "${verbose}" ] ; then
-                               echo Keeping d30v stuff in $i
-                       fi
-               fi
-       done
-else
-       for i in $d30v_files ; do
-               if test -r $i && (grep sanitize-d30v $i > /dev/null) ; then
-                       if [ -n "${verbose}" ] ; then
-                               echo Removing traces of \"d30v\" from $i...
-                       fi
-                       cp $i new
-                       sed '/start\-sanitize\-d30v/,/end\-sanitize\-d30v/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
-
 # This must come after all other sanitizations.  Re-sanitize the .pot
 # file.
 if [ -n "${verbose}" ]; then
index 36a948ddc433e619dcbf1e1be67498baf6ee4985..d83529f3f6c0b166d3270e36be49dd5dba6b029c 100644 (file)
@@ -312,6 +312,8 @@ binutils.dvi: $(srcdir)/binutils.texi config.texi
 
 binutils.info: $(srcdir)/binutils.texi config.texi
 
+MAINTAINERCLEANFILES = config.texi
+
 $(DEMANGLER_PROG).1: cxxfilt.man Makefile
        sed -e 's/@PROGRAM@/$(DEMANGLER_PROG)/' < $(srcdir)/cxxfilt.man \
                > $(DEMANGLER_PROG).1
@@ -393,7 +395,9 @@ not-ranlib.o: not-ranlib.c
 not-strip.o: not-strip.c
 objcopy.o: objcopy.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
   $(INCDIR)/progress.h bucomm.h config.h $(INCDIR)/fopen-same.h \
-  $(INCDIR)/getopt.h $(INCDIR)/libiberty.h budbg.h
+  $(INCDIR)/getopt.h $(INCDIR)/libiberty.h budbg.h $(INCDIR)/elf/internal.h \
+  $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/external.h \
+  $(INCDIR)/bfdlink.h
 objdump.o: objdump.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
   $(INCDIR)/getopt.h $(INCDIR)/progress.h bucomm.h config.h \
   $(INCDIR)/fopen-same.h $(INCDIR)/dis-asm.h $(INCDIR)/libiberty.h \
@@ -445,9 +449,14 @@ resbin.o: resbin.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
 winduni.o: winduni.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
   bucomm.h config.h $(INCDIR)/fopen-same.h winduni.h
 readelf.o: readelf.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
-  $(INCDIR)/elf/common.h $(INCDIR)/elf/ppc.h $(INCDIR)/elf/m32r.h \
-  $(INCDIR)/elf/mips.h $(INCDIR)/elf/external.h $(INCDIR)/elf/internal.h \
-  bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/getopt.h
+  $(INCDIR)/elf/common.h $(INCDIR)/elf/external.h $(INCDIR)/elf/internal.h \
+  $(INCDIR)/elf/i386.h $(INCDIR)/elf/reloc-macros.h $(INCDIR)/elf/v850.h \
+  $(INCDIR)/elf/ppc.h $(INCDIR)/elf/mips.h $(INCDIR)/elf/alpha.h \
+  $(INCDIR)/elf/arm.h $(INCDIR)/elf/m68k.h $(INCDIR)/elf/sparc.h \
+  $(INCDIR)/elf/m32r.h $(INCDIR)/elf/d10v.h $(INCDIR)/elf/d30v.h \
+  $(INCDIR)/elf/sh.h $(INCDIR)/elf/mn10200.h $(INCDIR)/elf/mn10300.h \
+  $(INCDIR)/elf/hppa.h $(INCDIR)/elf/arc.h bucomm.h config.h \
+  $(INCDIR)/fopen-same.h $(INCDIR)/getopt.h
 underscore.o: underscore.c
 arparse.o: arparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
   bucomm.h config.h $(INCDIR)/fopen-same.h arsup.h
index ff9ccc934b74bb3890cc50b6b6e2b3cff289902d..c411da8d1d57c5fa7f3890123e01608acbefbd22 100644 (file)
@@ -248,6 +248,8 @@ DISTSTUFF = arparse.c arparse.h arlex.c nlmheader.c sysinfo.c sysinfo.h \
 DISTCLEANFILES = stamp-under sysinfo underscore.c sysroff.c sysroff.h \
        site.exp site.bak
 
+MAINTAINERCLEANFILES = config.texi
+
 MOSTLYCLEANFILES = sysinfo $(DEMANGLER_PROG).1 binutils.log binutils.sum \
        abcdefgh*
 
@@ -385,7 +387,7 @@ Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
 $(ACLOCAL_M4): @MAINT@ configure.in  acinclude.m4
        cd $(srcdir) && $(ACLOCAL)
 
-config.status: $(srcdir)/configure
+config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
        $(SHELL) ./config.status --recheck
 $(srcdir)/configure: @MAINT@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
        cd $(srcdir) && $(AUTOCONF)
@@ -702,10 +704,10 @@ uninstall-man1:
        done
 install-man: $(MANS)
        @$(NORMAL_INSTALL)
-       $(MAKE) install-man1
+       $(MAKE) $(AM_MAKEFLAGS) install-man1
 uninstall-man:
        @$(NORMAL_UNINSTALL)
-       $(MAKE) uninstall-man1
+       $(MAKE) $(AM_MAKEFLAGS) uninstall-man1
 
 # This directory's subdirectories are mostly independent; you can cd
 # into them and run `make' without going through this Makefile.
@@ -723,7 +725,7 @@ check-recursive installcheck-recursive info-recursive dvi-recursive:
        list='$(SUBDIRS)'; for subdir in $$list; do \
          target=`echo $@ | sed s/-recursive//`; \
          echo "Making $$target in $$subdir"; \
-         (cd $$subdir && $(MAKE) $$target) \
+         (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$target) \
           || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
        done && test -z "$$fail"
 
@@ -736,12 +738,12 @@ maintainer-clean-recursive:
        for subdir in $$rev; do \
          target=`echo $@ | sed s/-recursive//`; \
          echo "Making $$target in $$subdir"; \
-         (cd $$subdir && $(MAKE) $$target) \
+         (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$target) \
           || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
        done && test -z "$$fail"
 tags-recursive:
        list='$(SUBDIRS)'; for subdir in $$list; do \
-         (cd $$subdir && $(MAKE) tags); \
+         (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
        done
 
 tags: TAGS
@@ -786,12 +788,12 @@ distcheck: dist
        dc_install_base=`cd $(distdir)/=inst && pwd`; \
        cd $(distdir)/=build \
          && ../configure --srcdir=.. --prefix=$$dc_install_base \
-         && $(MAKE) \
-         && $(MAKE) dvi \
-         && $(MAKE) check \
-         && $(MAKE) install \
-         && $(MAKE) installcheck \
-         && $(MAKE) dist
+         && $(MAKE) $(AM_MAKEFLAGS) \
+         && $(MAKE) $(AM_MAKEFLAGS) dvi \
+         && $(MAKE) $(AM_MAKEFLAGS) check \
+         && $(MAKE) $(AM_MAKEFLAGS) install \
+         && $(MAKE) $(AM_MAKEFLAGS) installcheck \
+         && $(MAKE) $(AM_MAKEFLAGS) dist
        -rm -rf $(distdir)
        @echo "========================"; \
        echo "$(distdir).tar.gz is ready for distribution"; \
@@ -819,10 +821,10 @@ distdir: $(DISTFILES)
          || mkdir $(distdir)/$$subdir \
          || exit 1; \
          chmod 777 $(distdir)/$$subdir; \
-         (cd $$subdir && $(MAKE) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
+         (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
            || exit 1; \
        done
-       $(MAKE) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
+       $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
 
 RUNTESTFLAGS =
 
@@ -851,11 +853,11 @@ site.exp: Makefile
 info: $(INFO_DEPS) info-recursive
 dvi: $(DVIS) dvi-recursive
 check:
-       $(MAKE) check-recursive check-DEJAGNU
+       $(MAKE) $(AM_MAKEFLAGS) check-recursive check-DEJAGNU
 installcheck: installcheck-recursive
 install-info: install-info-am install-info-recursive
 all-recursive-am: config.h
-       $(MAKE) all-recursive
+       $(MAKE) $(AM_MAKEFLAGS) all-recursive
 
 all-am: Makefile $(PROGRAMS) $(MANS) config.h
 
@@ -877,7 +879,7 @@ install: install-recursive install-exec-am install-data-am
 uninstall: uninstall-recursive uninstall-am
 
 install-strip:
-       $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
+       $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
 installdirs: installdirs-recursive
        $(mkinstalldirs)  $(DATADIR)$(bindir) $(DESTDIR)$(mandir)/man1
 
@@ -1165,7 +1167,9 @@ not-ranlib.o: not-ranlib.c
 not-strip.o: not-strip.c
 objcopy.o: objcopy.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
   $(INCDIR)/progress.h bucomm.h config.h $(INCDIR)/fopen-same.h \
-  $(INCDIR)/getopt.h $(INCDIR)/libiberty.h budbg.h
+  $(INCDIR)/getopt.h $(INCDIR)/libiberty.h budbg.h $(INCDIR)/elf/internal.h \
+  $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/external.h \
+  $(INCDIR)/bfdlink.h
 objdump.o: objdump.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
   $(INCDIR)/getopt.h $(INCDIR)/progress.h bucomm.h config.h \
   $(INCDIR)/fopen-same.h $(INCDIR)/dis-asm.h $(INCDIR)/libiberty.h \
@@ -1217,9 +1221,14 @@ resbin.o: resbin.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
 winduni.o: winduni.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
   bucomm.h config.h $(INCDIR)/fopen-same.h winduni.h
 readelf.o: readelf.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
-  $(INCDIR)/elf/common.h $(INCDIR)/elf/ppc.h $(INCDIR)/elf/m32r.h \
-  $(INCDIR)/elf/mips.h $(INCDIR)/elf/external.h $(INCDIR)/elf/internal.h \
-  bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/getopt.h
+  $(INCDIR)/elf/common.h $(INCDIR)/elf/external.h $(INCDIR)/elf/internal.h \
+  $(INCDIR)/elf/i386.h $(INCDIR)/elf/reloc-macros.h $(INCDIR)/elf/v850.h \
+  $(INCDIR)/elf/ppc.h $(INCDIR)/elf/mips.h $(INCDIR)/elf/alpha.h \
+  $(INCDIR)/elf/arm.h $(INCDIR)/elf/m68k.h $(INCDIR)/elf/sparc.h \
+  $(INCDIR)/elf/m32r.h $(INCDIR)/elf/d10v.h $(INCDIR)/elf/d30v.h \
+  $(INCDIR)/elf/sh.h $(INCDIR)/elf/mn10200.h $(INCDIR)/elf/mn10300.h \
+  $(INCDIR)/elf/hppa.h $(INCDIR)/elf/arc.h bucomm.h config.h \
+  $(INCDIR)/fopen-same.h $(INCDIR)/getopt.h
 underscore.o: underscore.c
 arparse.o: arparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
   bucomm.h config.h $(INCDIR)/fopen-same.h arsup.h
index da733654716f71b09d3d47c9fa3bb42d281c5499..2073e6ea649d2cb8784280e31647c6ea303f421b 100644 (file)
@@ -49,9 +49,7 @@
 #include "elf/sparc.h"
 #include "elf/m32r.h"
 #include "elf/d10v.h"
-/* start-sanitize-d30v */
 #include "elf/d30v.h"
-/* end-sanitize-d30v */
 #include "elf/sh.h"
 #include "elf/mn10200.h"
 #include "elf/mn10300.h"
@@ -344,9 +342,7 @@ dump_relocations (file, rel_offset, rel_size, symtab, strtab)
     case EM_SPARC:
     case EM_PPC:
     case EM_CYGNUS_V850:
-      /* start-sanitize-d30v */
     case EM_CYGNUS_D30V:
-      /* end-sanitize-d30v */
     case EM_CYGNUS_MN10200:
     case EM_CYGNUS_MN10300:
     case EM_SH:
@@ -439,12 +435,10 @@ dump_relocations (file, rel_offset, rel_size, symtab, strtab)
          rtype = elf_d10v_reloc_type (ELF32_R_TYPE (info));
          break;
 
-         /* start-sanitize-d30v */
        case EM_CYGNUS_D30V:
          rtype = elf_d30v_reloc_type (ELF32_R_TYPE (info));
          break;
 
-         /* end-sanitize-d30v */
        case EM_SH:
          rtype = elf_sh_reloc_type (ELF32_R_TYPE (info));
          break;
@@ -695,9 +689,7 @@ get_machine_name (e_machine)
     case EM_SPARCV9:           return "Sparc v9";
     case EM_ALPHA:             return "Alpha";
     case EM_CYGNUS_D10V:        return "d10v";
-      /* start-sanitize-d30v */
     case EM_CYGNUS_D30V:        return "d30v";
-      /* end-sanitize-d30v */
     case EM_CYGNUS_ARC:                return "Arc";
     case EM_CYGNUS_M32R:       return "M32r";
     case EM_CYGNUS_V850:       return "v850";
index 4132bf3110dbbd4d33955ad39061159d72ff8b4c..c2e625d15ff93bd9549e96110c21d0d5e387a8c5 100644 (file)
@@ -43,39 +43,6 @@ Do-last:
 # Don't try to clean directories here, as the 'mv' command will fail.
 # Also, grep fails on NFS mounted directories.
 
-if [ -n "${verbose}" ] ; then
-       echo Processing \"d30v\"...
-fi
-
-d30v_files="objdump.exp"
-
-if ( echo $* | grep keep\-d30v > /dev/null ) ; then
-       for i in $d30v_files ; do
-               if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then
-                       if [ -n "${verbose}" ] ; then
-                               echo Keeping d30v stuff in $i
-                       fi
-               fi
-       done
-else
-       for i in * ; do
-               if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then
-                       if [ -n "${verbose}" ] ; then
-                               echo Removing traces of \"d30v\" from $i...
-                       fi
-                       cp $i new
-                       sed '/start\-sanitize\-d30v/,/end-\sanitize\-d30v/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
-
 sky_files="objdump.exp"
 
 if ( echo $* | grep keep\-sky > /dev/null ) ; then
This page took 0.033127 seconds and 4 git commands to generate.