This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PATCH: Rename md_apply_fix3 to md_apply_fix
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Zack Weinberg <zack at codesourcery dot com>
- Cc: binutils at sourceware dot org
- Date: Wed, 8 Jun 2005 01:37:33 +0930
- Subject: Re: PATCH: Rename md_apply_fix3 to md_apply_fix
- References: <42A4E7BA.8000606@codesourcery.com>
On Mon, Jun 06, 2005 at 05:18:02PM -0700, Zack Weinberg wrote:
> 2) Doing so revealed that whoever deleted bignum-copy.c forgot to remove
> it from POTFILES.in. I took the liberty of running that file through
> 'uniq' as long as I was editing it - all .c files were in there twice,
> for no reason.
POTFILES.in is a generated file, so the real problem is the gas
Makefile.am rule. I see that CFILES includes GAS_CFILES but POTFILES
has them both.
* Makefile.am: Run "make dep-am".
(POTFILES): Remove GAS_CFILES.
* Makefile.in: Regenerate.
Index: Makefile.am
===================================================================
RCS file: /cvs/src/src/gas/Makefile.am,v
retrieving revision 1.111
diff -u -p -r1.111 Makefile.am
--- Makefile.am 19 May 2005 23:49:48 -0000 1.111
+++ Makefile.am 7 Jun 2005 16:05:42 -0000
@@ -456,7 +456,7 @@ OBJS = $(CONFIG_OBJS) $(GENERIC_OBJS)
POTFILES = $(MULTI_CFILES) $(TARGET_ENV_HFILES) $(OBJ_FORMAT_HFILES) \
$(OBJ_FORMAT_CFILES) $(TARGET_CPU_HFILES) $(TARGET_CPU_CFILES) \
- $(HFILES) $(CFILES) $(GAS_CFILES)
+ $(HFILES) $(CFILES)
po/POTFILES.in: @MAINT@ Makefile
for f in $(POTFILES); do echo $$f; done | LC_COLLATE= sort > tmp \
&& mv tmp $(srcdir)/po/POTFILES.in
@@ -2440,7 +2440,7 @@ BMKDEP = #DO NOT PUT ANYTHING BETWEEN TH
#MKDEP DO NOT PUT ANYTHING BETWEEN THIS LINE AND THE MATCHING WARNING BELOW.
app.o: app.c $(INCDIR)/symcat.h
as.o: as.c $(INCDIR)/symcat.h subsegs.h $(INCDIR)/obstack.h \
- output-file.h sb.h macro.h dwarf2dbg.h dw2gencfi.h hash.h \
+ output-file.h sb.h macro.h dwarf2dbg.h dw2gencfi.h \
$(INCDIR)/elf/dwarf2.h $(BFDVER_H)
atof-generic.o: atof-generic.c $(INCDIR)/symcat.h $(INCDIR)/safe-ctype.h
cond.o: cond.c $(INCDIR)/symcat.h macro.h sb.h $(INCDIR)/obstack.h
@@ -2475,7 +2475,7 @@ output-file.o: output-file.c $(INCDIR)/s
read.o: read.c $(INCDIR)/symcat.h $(INCDIR)/safe-ctype.h \
subsegs.h $(INCDIR)/obstack.h sb.h macro.h ecoff.h \
dw2gencfi.h $(INCDIR)/elf/dwarf2.h
-sb.o: sb.c sb.h
+sb.o: sb.c sb.h $(INCDIR)/symcat.h
stabs.o: stabs.c $(INCDIR)/symcat.h $(INCDIR)/obstack.h \
subsegs.h ecoff.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def
subsegs.o: subsegs.c $(INCDIR)/symcat.h subsegs.h $(INCDIR)/obstack.h
--
Alan Modra
IBM OzLabs - Linux Technology Centre