PATCH: Add something to empty files

H. J. Lu hjl@lucon.org
Wed Apr 14 15:46:00 GMT 2004


On Wed, Apr 14, 2004 at 08:21:27AM -0700, H. J. Lu wrote:
> On Wed, Apr 14, 2004 at 03:50:26PM +0200, Andreas Jaeger wrote:
> > 
> > Just one problem:
> > $ ls ld/testsuite/ld-scripts/data.*
> > ld/testsuite/ld-scripts/data.d    ld/testsuite/ld-scripts/data.t
> > ld/testsuite/ld-scripts/data.exp
> > 
> > data.s is missing and therefore the testsuite fails.
> > 
> 
> Alan, data.s and assert.s became empty due to
> 
> http://sources.redhat.com/ml/binutils/2004-04/msg00089.html
> 
> I think we should put something there. Otherwise,
> 
> # patch -E ...
> 
> will remove them. How about putting an emply line in those files?
> 

There are 3 empty files in binutils. This patch adds something to
those files.


H.J.
-------------- next part --------------
gas/

2004-04-14  H.J. Lu  <hongjiu.lu@intel.com>

	* config/tc-generic.c: Add some comments.

ld/testsuite/

2004-04-14  H.J. Lu  <hongjiu.lu@intel.com>

	* ld-scripts/assert.s: Add a newline.
	* ld-scripts/data.s: Likewise.

--- binutils/gas/config/tc-generic.c.empty	1999-06-03 11:02:01.000000000 -0700
+++ binutils/gas/config/tc-generic.c	2004-04-14 08:40:56.000000000 -0700
@@ -0,0 +1,22 @@
+/* This file is tc-generic.c
+
+   Copyright 2004 Free Software Foundation, Inc.
+
+   This file is part of GAS, the GNU Assembler.
+
+   GAS is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 2, or (at your option)
+   any later version.
+
+   GAS is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License along
+   with GAS; see the file COPYING.  If not, write to the Free Software
+   Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
+
+/* This file is tc-generic.c and is intended to be a template for
+   target cpu specific files.  */
--- binutils/ld/testsuite/ld-scripts/assert.s.empty	2004-04-08 08:30:54.000000000 -0700
+++ binutils/ld/testsuite/ld-scripts/assert.s	2004-04-14 08:41:03.000000000 -0700
@@ -0,0 +1 @@
+
--- binutils/ld/testsuite/ld-scripts/data.s.empty	2004-04-08 08:30:54.000000000 -0700
+++ binutils/ld/testsuite/ld-scripts/data.s	2004-04-14 08:41:07.000000000 -0700
@@ -0,0 +1 @@
+


More information about the Binutils mailing list