PR20744, Incorrect PowerPC VLE relocs
[deliverable/binutils-gdb.git] / gas / Makefile.in
index 84f746dd1edd3fb5e2f343d226348397f55e66c7..70578ad72fb4eab6010cb65c3718e7b1aa063c8d 100644 (file)
@@ -282,6 +282,7 @@ builddir = @builddir@
 cgen_cpu_prefix = @cgen_cpu_prefix@
 datadir = @datadir@
 datarootdir = @datarootdir@
+do_compare = @do_compare@
 docdir = @docdir@
 dvidir = @dvidir@
 exec_prefix = @exec_prefix@
@@ -2745,21 +2746,15 @@ stage3:
        -mv $(STAGESTUFF) stage3
        if [ -f stage3/as-new$(EXEEXT) -a ! -f stage3/as$(EXEEXT) ] ; then (cd stage3 ; ln -s as-new as$(EXEEXT)) ; fi
 
-# This rule is derived from corresponding code in the Makefile.in for gcc.
-# The "tail +16c" is to bypass headers which may include timestamps or
-# temporary assembly file names.
 comparison:
        x=0 ; \
        for file in *.@OBJEXT@ ; do \
-         tail +16c ./$$file > tmp-foo1; \
-         if tail +16c ${against}/$$file > tmp-foo2 2>/dev/null ; then \
-           if cmp tmp-foo1 tmp-foo2 ; then \
-             true ; \
-           else \
-             echo $$file differs ; \
-             x=1 ; \
-           fi ; \
-         else true; fi ; \
+         f1=./$$file; f2=${against}/$$file; \
+         $(do_compare) > /dev/null 2>&1; \
+         if test $$? -ne 0; then \
+           echo $$file differs ; \
+           x=1 ; \
+         fi ; \
        done ; \
        exit $$x
        -rm -f tmp-foo*
This page took 0.025602 seconds and 4 git commands to generate.