From 7df5277ad68206c9102d43427639ae6328d033f9 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 11 Apr 2000 23:57:13 +0000 Subject: [PATCH] Fix auto-dependency bug. --- bfd/ChangeLog | 5 +++++ bfd/Makefile.am | 19 +++++++++---------- bfd/Makefile.in | 19 +++++++++---------- bfd/dep-in.sed | 2 +- 4 files changed, 24 insertions(+), 21 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 0fe0d2949e..d860c5825a 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,10 @@ 2000-04-12 Alan Modra + * dep-in.sed: Match space before file name, not after. + + * Makefile.am: Regenerate dependencies. + * Makefile.in: Regenerate. + * reloc.c (_bfd_relocate_contents): In complain_overflow_bitfield case, allow address wrap-around stupidly removed 2000-03-17. Sign extend without an if statement. diff --git a/bfd/Makefile.am b/bfd/Makefile.am index 885936dbbc..f5dd526f97 100644 --- a/bfd/Makefile.am +++ b/bfd/Makefile.am @@ -721,8 +721,8 @@ cpu-rs6000.lo: cpu-rs6000.c cpu-sh.lo: cpu-sh.c cpu-sparc.lo: cpu-sparc.c cpu-tic30.lo: cpu-tic30.c -cpu-tic80.lo: cpu-tic80.c cpu-tic54x.lo: cpu-tic54x.c +cpu-tic80.lo: cpu-tic80.c cpu-v850.lo: cpu-v850.c cpu-vax.lo: cpu-vax.c cpu-we32k.lo: cpu-we32k.c @@ -815,11 +815,11 @@ coff-svm68k.lo: coff-svm68k.c coff-m68k.c $(INCDIR)/coff/m68k.h \ coffcode.h coffswap.h coff-tic30.lo: coff-tic30.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/tic30.h \ $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h +coff-tic54x.lo: coff-tic54x.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/tic54x.h \ + $(INCDIR)/coff/ti.h $(INCDIR)/coff/internal.h libcoff.h \ + coffcode.h coffswap.h coff-tic80.lo: coff-tic80.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/tic80.h \ $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h -coff-tic54x.lo: coff-tic54x.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/ti.h \ - $(INCDIR)/coff/tic54x.h $(INCDIR)/coff/internal.h \ - libcoff.h coffcode.h coffswap.h coff-u68k.lo: coff-u68k.c coff-m68k.c $(INCDIR)/coff/m68k.h \ $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \ coffcode.h coffswap.h @@ -852,10 +852,10 @@ elf.lo: elf.c $(INCDIR)/bfdlink.h elf-bfd.h $(INCDIR)/elf/common.h \ elf32-arc.lo: elf32-arc.c elf-bfd.h $(INCDIR)/elf/common.h \ $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \ $(INCDIR)/elf/arc.h $(INCDIR)/elf/reloc-macros.h elf32-target.h -elfarm-oabi.lo: elfarm-oabi.c $(INCDIR)/elf/arm.h \ - $(INCDIR)/elf/reloc-macros.h elf-bfd.h $(INCDIR)/elf/common.h \ - $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \ - elf32-arm.h elf32-target.h +elfarm-oabi.lo: elfarm-oabi.c $(INCDIR)/elf/arm.h $(INCDIR)/elf/reloc-macros.h \ + elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \ + $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h elf32-arm.h \ + elf32-target.h elfarm-nabi.lo: elfarm-nabi.c $(INCDIR)/elf/arm.h $(INCDIR)/elf/reloc-macros.h \ elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \ $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h elf32-arm.h \ @@ -1131,7 +1131,6 @@ irix-core.lo: irix-core.c lynx-core.lo: lynx-core.c osf-core.lo: osf-core.c sco5-core.lo: sco5-core.c libaout.h $(INCDIR)/bfdlink.h -trad-core.lo: trad-core.c libaout.h $(INCDIR)/bfdlink.h \ - hosts/i386linux.h +trad-core.lo: trad-core.c libaout.h $(INCDIR)/bfdlink.h cisco-core.lo: cisco-core.c # IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/bfd/Makefile.in b/bfd/Makefile.in index cee72d46d3..5e0e973fdd 100644 --- a/bfd/Makefile.in +++ b/bfd/Makefile.in @@ -1249,8 +1249,8 @@ cpu-rs6000.lo: cpu-rs6000.c cpu-sh.lo: cpu-sh.c cpu-sparc.lo: cpu-sparc.c cpu-tic30.lo: cpu-tic30.c -cpu-tic80.lo: cpu-tic80.c cpu-tic54x.lo: cpu-tic54x.c +cpu-tic80.lo: cpu-tic80.c cpu-v850.lo: cpu-v850.c cpu-vax.lo: cpu-vax.c cpu-we32k.lo: cpu-we32k.c @@ -1343,11 +1343,11 @@ coff-svm68k.lo: coff-svm68k.c coff-m68k.c $(INCDIR)/coff/m68k.h \ coffcode.h coffswap.h coff-tic30.lo: coff-tic30.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/tic30.h \ $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h +coff-tic54x.lo: coff-tic54x.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/tic54x.h \ + $(INCDIR)/coff/ti.h $(INCDIR)/coff/internal.h libcoff.h \ + coffcode.h coffswap.h coff-tic80.lo: coff-tic80.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/tic80.h \ $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h -coff-tic54x.lo: coff-tic54x.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/ti.h \ - $(INCDIR)/coff/tic54x.h $(INCDIR)/coff/internal.h \ - libcoff.h coffcode.h coffswap.h coff-u68k.lo: coff-u68k.c coff-m68k.c $(INCDIR)/coff/m68k.h \ $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \ coffcode.h coffswap.h @@ -1380,10 +1380,10 @@ elf.lo: elf.c $(INCDIR)/bfdlink.h elf-bfd.h $(INCDIR)/elf/common.h \ elf32-arc.lo: elf32-arc.c elf-bfd.h $(INCDIR)/elf/common.h \ $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \ $(INCDIR)/elf/arc.h $(INCDIR)/elf/reloc-macros.h elf32-target.h -elfarm-oabi.lo: elfarm-oabi.c $(INCDIR)/elf/arm.h \ - $(INCDIR)/elf/reloc-macros.h elf-bfd.h $(INCDIR)/elf/common.h \ - $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \ - elf32-arm.h elf32-target.h +elfarm-oabi.lo: elfarm-oabi.c $(INCDIR)/elf/arm.h $(INCDIR)/elf/reloc-macros.h \ + elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \ + $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h elf32-arm.h \ + elf32-target.h elfarm-nabi.lo: elfarm-nabi.c $(INCDIR)/elf/arm.h $(INCDIR)/elf/reloc-macros.h \ elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \ $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h elf32-arm.h \ @@ -1659,8 +1659,7 @@ irix-core.lo: irix-core.c lynx-core.lo: lynx-core.c osf-core.lo: osf-core.c sco5-core.lo: sco5-core.c libaout.h $(INCDIR)/bfdlink.h -trad-core.lo: trad-core.c libaout.h $(INCDIR)/bfdlink.h \ - hosts/i386linux.h +trad-core.lo: trad-core.c libaout.h $(INCDIR)/bfdlink.h cisco-core.lo: cisco-core.c # IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/bfd/dep-in.sed b/bfd/dep-in.sed index 444dde0c01..9da181ab8f 100644 --- a/bfd/dep-in.sed +++ b/bfd/dep-in.sed @@ -7,7 +7,7 @@ s!\.o:!.lo:! s! @BFD_H@!!g s!@INCDIR@!$(INCDIR)!g s!@SRCDIR@/!!g -s!hosts/[^ ]*\.h ! !g +s! hosts/[^ ]*\.h! !g s/ sysdep.h//g s! \.\./bfd/sysdep.h!!g s/ libbfd.h//g