aboutsummaryrefslogtreecommitdiff
path: root/gas/Makefile.in
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1994-11-03 23:15:54 +0000
committerKen Raeburn <raeburn@cygnus>1994-11-03 23:15:54 +0000
commitf28891108ca6a50679c2297cda546768f0a3bc76 (patch)
tree024d16996f2649581ffaf1ca2e670549682d6244 /gas/Makefile.in
parent6c27841f3b120b58f6306070deaccd7421696c1b (diff)
downloadgdb-f28891108ca6a50679c2297cda546768f0a3bc76.zip
gdb-f28891108ca6a50679c2297cda546768f0a3bc76.tar.gz
gdb-f28891108ca6a50679c2297cda546768f0a3bc76.tar.bz2
Changes from net 2.5.2 release branch:
* configure.in: Put AC_DEFINE(sparcv9) on its own line, so that the shell variable settings associated with it are permanent. For CPUs requiring bfd_gas=yes, select it based on CPU only, not individual target names. Handle m68k-hp-hpux*, not just -hpux. * config/tc-z8k.c (tc_coff_symbol_emit_hook): Add dummy argument to match prototype in obj-coff.h. * configure.in: Skip tests for defining WANT_FOPEN_BIN and IBM_COMPILER_SUX. * acconfig.h: Deleted them. * configure, conf.in: Rebuild with autoconf 2.0. * config/go32.cfg, config/vms-conf.h: Updated. * config/tc-m68k.c (md_apply_fix_2, md_convert_frag_1): Always use IBM_COMPILER_SUX version of code, with comments indicating why. * listing.c (file_info): Use text mode when opening file for read. Use "r" directly, no macro. * input-file.c (input_file_open): Don't use FOPEN_RT, just use "r". * read.c (s_include): Ditto. * output-file.c (output_file_create): Try both "wb" and "w", don't bother with FOPEN_* macros. * as.h: Don't include fopen-*.h. * config/alpha-opcode.h: Make "ret" with no operands equivalent to "ret zero,(ra)", to match OSF1 and to be consistent with both one-operand forms. Patches from DJ Delorie: * as.h (alloca): undef alloca before defining it just in case * config/go32.cfg: new file for autoconf values * config/te-go32.h: new file * configure.bat: new for autoconf * config/tc-i386.c (md_assemble): Fix typo in GOTPC check; had = for ==. * configure.in: If target_frag doesn't exist, use /dev/null. * as.c (parse_args): For non-VMS systems, re-add `v' to std_shortopts. Add "verbose" to list of long options. * write.c (adjust_reloc_syms): When generating an absolute section symbol as a placeholder, don't mark it as used in a relocation entry, here. * Makefile.in (comparison): Compare using makefile code from gcc, stripped down to discard subdir stuff and adapted to give a non-zero exit status if either file differs.
Diffstat (limited to 'gas/Makefile.in')
-rw-r--r--gas/Makefile.in26
1 files changed, 21 insertions, 5 deletions
diff --git a/gas/Makefile.in b/gas/Makefile.in
index 52a9c77..d1093a1 100644
--- a/gas/Makefile.in
+++ b/gas/Makefile.in
@@ -53,7 +53,7 @@ infodir = $(prefix)/info
includedir = $(prefix)/include
docdir = $(datadir)/doc
-VERSION=cygnus-2.4.90
+VERSION=cygnus-2.5
SHELL = /bin/sh
@@ -67,7 +67,7 @@ DISTSTUFF= make-gas.com
AR = ar
AR_FLAGS = qv
-BISON = bison
+BISON = bison -y
MAKEINFO = makeinfo
TEXI2DVI = texi2dvi
RANLIB = ranlib
@@ -439,7 +439,7 @@ $(srcdir)/as.info: $(srcdir)/doc/as.texinfo
diststuff: $(DISTSTUFF)
clean-here:
- -rm -f $(STAGESTUFF) core
+ -rm -f $(STAGESTUFF) core stamp-mk.com
clean mostlyclean: clean-here
@cd doc ; $(MAKE) $(FLAGS_TO_PASS) $@
@@ -455,7 +455,7 @@ distclean: clean-here
else true; fi
-rm -f config.status Makefile targ-env.h targ-cpu.h \
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 .gdbinit
realclean: clean distclean
-rm -rf $(DISTSTUFF)
@@ -536,8 +536,24 @@ stage3: force
against=stage2
+# 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: force
- for i in $(STAGESTUFF) ; do cmp $$i $(against)/$$i ; done
+ x=0 ; \
+ for file in $(STAGESTUFF) ; 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 ; \
+ done ; \
+ exit $$x
+ -rm -f tmp-foo*
de-stage1: force
- (cd stage1 ; rm -f as ; mv -f * ..)