mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 22:07:58 +08:00
* Makefile.in (comparison): When comparing as.new or gasp.new, try running the
binary through sed to avoid differences due to "stage1" or "stage2" having been written into the binary.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
Tue Oct 11 15:05:11 1994 Ken Raeburn (raeburn@kr-pc.cygnus.com)
|
||||||
|
|
||||||
|
* Makefile.in (comparison): When comparing as.new or gasp.new, try
|
||||||
|
running the binary through sed to avoid differences due to
|
||||||
|
"stage1" or "stage2" having been written into the binary.
|
||||||
|
|
||||||
Sat Oct 8 01:48:04 1994 Ken Raeburn (raeburn@kr-pc.cygnus.com)
|
Sat Oct 8 01:48:04 1994 Ken Raeburn (raeburn@kr-pc.cygnus.com)
|
||||||
|
|
||||||
ELF symbol size handling, based on code from Eric Youngdale:
|
ELF symbol size handling, based on code from Eric Youngdale:
|
||||||
|
@ -63,6 +63,8 @@ INSTALL_DATA = $(INSTALL)
|
|||||||
INSTALL_XFORM = $(INSTALL) -t='-e "$(program_transform_name)"'
|
INSTALL_XFORM = $(INSTALL) -t='-e "$(program_transform_name)"'
|
||||||
INSTALL_XFORM1= $(INSTALL_XFORM) -b=.1
|
INSTALL_XFORM1= $(INSTALL_XFORM) -b=.1
|
||||||
|
|
||||||
|
DISTSTUFF= make-gas.com
|
||||||
|
|
||||||
AR = ar
|
AR = ar
|
||||||
AR_FLAGS = qv
|
AR_FLAGS = qv
|
||||||
BISON = bison
|
BISON = bison
|
||||||
@ -434,13 +436,12 @@ doc: $(srcdir)/as.info
|
|||||||
$(srcdir)/as.info: $(srcdir)/doc/as.texinfo
|
$(srcdir)/as.info: $(srcdir)/doc/as.texinfo
|
||||||
@(cd doc; $(MAKE) $(FLAGS_TO_PASS) as.info; mv as.info $srcdir)
|
@(cd doc; $(MAKE) $(FLAGS_TO_PASS) as.info; mv as.info $srcdir)
|
||||||
|
|
||||||
diststuff: make-gas.com
|
diststuff: $(DISTSTUFF)
|
||||||
|
|
||||||
clean-here:
|
clean-here:
|
||||||
-rm -f $(STAGESTUFF) core
|
-rm -f $(STAGESTUFF) core
|
||||||
|
|
||||||
clean mostlyclean: clean-here
|
clean mostlyclean: clean-here
|
||||||
-rm -f make-gas.com
|
|
||||||
@cd doc ; $(MAKE) $(FLAGS_TO_PASS) $@
|
@cd doc ; $(MAKE) $(FLAGS_TO_PASS) $@
|
||||||
@if [ -d testsuite ] ; then \
|
@if [ -d testsuite ] ; then \
|
||||||
cd testsuite ; $(MAKE) $(FLAGS_TO_PASS) $@ ; \
|
cd testsuite ; $(MAKE) $(FLAGS_TO_PASS) $@ ; \
|
||||||
@ -456,6 +457,7 @@ distclean: clean-here
|
|||||||
targ-cpu.c obj-format.h obj-format.c atof-targ.c TAGS \
|
targ-cpu.c obj-format.h obj-format.c atof-targ.c TAGS \
|
||||||
config-stamp config.h conf config.log config.cache
|
config-stamp config.h conf config.log config.cache
|
||||||
realclean: clean distclean
|
realclean: clean distclean
|
||||||
|
-rm -rf $(DISTSTUFF)
|
||||||
|
|
||||||
# Entry points `install', `includes' and `uninstall'.
|
# Entry points `install', `includes' and `uninstall'.
|
||||||
|
|
||||||
@ -529,8 +531,20 @@ stage3: force
|
|||||||
|
|
||||||
against=stage2
|
against=stage2
|
||||||
|
|
||||||
|
COMPARE_SED= 's/stage./stageX/g'
|
||||||
comparison: force
|
comparison: force
|
||||||
for i in $(STAGESTUFF) ; do cmp $$i $(against)/$$i ; done
|
for i in *.o ; do cmp $$i $(against)/$$i ; done
|
||||||
|
-rm -f x0-* x1-*
|
||||||
|
for i in as.new gasp.new ; do \
|
||||||
|
sed $(COMPARE_SED) < $$i > x0-$$i ; \
|
||||||
|
sed $(COMPARE_SED) < $(against)/$$i > x1-$$i ; \
|
||||||
|
if cmp x0-$$i x1-$$i ; then \
|
||||||
|
echo $$i match ; \
|
||||||
|
else \
|
||||||
|
echo $$i differs ; exit 1 ; \
|
||||||
|
fi ; \
|
||||||
|
done
|
||||||
|
-rm -f x0-* x1-*
|
||||||
|
|
||||||
de-stage1: force
|
de-stage1: force
|
||||||
- (cd stage1 ; rm -f as ; mv -f * ..)
|
- (cd stage1 ; rm -f as ; mv -f * ..)
|
||||||
|
Reference in New Issue
Block a user