From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10562 invoked by alias); 1 Sep 2009 09:52:14 -0000 Received: (qmail 10554 invoked by uid 22791); 1 Sep 2009 09:52:14 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,HK_OBFDOM X-Spam-Check-By: sourceware.org Received: from nwd2mail11.analog.com (HELO nwd2mail11.analog.com) (137.71.25.57) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 01 Sep 2009 09:52:06 +0000 Received: from nwd2hubcas2.ad.analog.com ([10.64.73.30]) by nwd2mail11.analog.com with ESMTP; 01 Sep 2009 05:51:54 -0400 Received: from nwd2exm5.ad.analog.com (10.64.51.20) by NWD2HUBCAS2.ad.analog.com (10.64.73.30) with Microsoft SMTP Server id 8.1.358.0; Tue, 1 Sep 2009 05:51:51 -0400 Received: from nwd2exm20.ad.analog.com ([10.64.73.20]) by nwd2exm5.ad.analog.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 1 Sep 2009 05:51:51 -0400 Received: from chinexm1.ad.analog.com ([10.99.27.42]) by nwd2exm20.ad.analog.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 1 Sep 2009 05:51:51 -0400 Received: from [10.99.29.103] ([10.99.29.103]) by chinexm1.ad.analog.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 1 Sep 2009 17:51:48 +0800 Message-ID: <4A9CEEAA.1050900@analog.com> Date: Tue, 01 Sep 2009 09:52:00 -0000 From: Jie Zhang User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090701) MIME-Version: 1.0 To: binutils@sourceware.org Subject: [PATCH] Prevent bfin-parse.h being clobbered Content-Type: multipart/mixed; boundary="------------030702050003070409090609" X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2009-09/txt/msg00023.txt.bz2 --------------030702050003070409090609 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Content-length: 290 Rules likes these don't make sense to me: bfin-defs.h: ; @true $(srcdir)/config/bfin-defs.h: ; @true It appears that they should be bfin-parse.h: ; @true $(srcdir)/config/bfin-parse.h: ; @true which are used to prevent .y.h rule clobbering bfin-parse.h. This patch fixes it. OK? Jie --------------030702050003070409090609 Content-Type: text/x-patch; name="gas-prevent-bfin-parse-h-clobber.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="gas-prevent-bfin-parse-h-clobber.diff" Content-length: 851 * Makefile.am (bfin-defs.h, $(srcdir)/config/bfin-defs.h): Rename to ... (bfin-parse.h, $(srcdir)/config/bfin-parse.h): ... these. * Makefile.in: Regenerate. Index: Makefile.am =================================================================== RCS file: /cvs/src/src/gas/Makefile.am,v retrieving revision 1.181 diff -u -r1.181 Makefile.am --- Makefile.am 26 Aug 2009 18:27:36 -0000 1.181 +++ Makefile.am 1 Sep 2009 09:36:56 -0000 @@ -606,8 +606,8 @@ bfin-parse.o: bfin-parse.c bfin-parse.h $(srcdir)/config/bfin-defs.h \ $(INCDIR)/elf/common.h $(INCDIR)/elf/bfin.h $(BFDDIR)/libbfd.h -bfin-defs.h: ; @true -$(srcdir)/config/bfin-defs.h: ; @true +bfin-parse.h: ; @true +$(srcdir)/config/bfin-parse.h: ; @true bfin-lex.c: $(srcdir)/config/bfin-lex.l $(SHELL) $(YLWRAP) $(srcdir)/config/bfin-lex.l lex.yy.c bfin-lex.c -- $(LEXCOMPILE) --------------030702050003070409090609--