This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] There is no legitimate reason to override reg_char onsparc32.


This file overrides reg_char to int but that doesn't make any
sense at all.

I tried to figure out where this came from, but it predates Roland's
initial CVS import in 1995 :-) The file was located at
sysdeps/sparc/memcopy.h at the time of the initial CVS import.

I suspect that the memcopy.h copying macros, way back when this file
was created, would try to operate a reg_char at a time or something
strange like that.

Interestingly, when Richard Henderson imported the sparc64 support,
this file sat in sysdeps/sparc/memcopy.h and Richard simply moved
it to sysdeps/sparc/sparc32/memcopy.h and didn't create an equivalent
under sparc64.

Anyways, this is all just silly and unnecessary so just remove this
file.

Committed to master.

	* sysdeps/sparc/sparc32/memcopy.h: Delete.
---
 ChangeLog                       |    4 ++++
 sysdeps/sparc/sparc32/memcopy.h |   20 --------------------
 2 files changed, 4 insertions(+), 20 deletions(-)
 delete mode 100644 sysdeps/sparc/sparc32/memcopy.h

diff --git a/ChangeLog b/ChangeLog
index 4143013..bb41dd1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-04-17  David S. Miller  <davem@davemloft.net>
+
+	* sysdeps/sparc/sparc32/memcopy.h: Delete.
+
 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
 
 	* sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
diff --git a/sysdeps/sparc/sparc32/memcopy.h b/sysdeps/sparc/sparc32/memcopy.h
deleted file mode 100644
index 8659693..0000000
--- a/sysdeps/sparc/sparc32/memcopy.h
+++ /dev/null
@@ -1,20 +0,0 @@
-/* Copyright (C) 1991, 1997 Free Software Foundation, Inc.
-   This file is part of the GNU C Library.
-
-   The GNU C Library is free software; you can redistribute it and/or
-   modify it under the terms of the GNU Lesser General Public
-   License as published by the Free Software Foundation; either
-   version 2.1 of the License, or (at your option) any later version.
-
-   The GNU C Library 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
-   Lesser General Public License for more details.
-
-   You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
-
-#include <sysdeps/generic/memcopy.h>
-#undef	reg_char
-#define	reg_char	int
-- 
1.7.9.5


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]