Use i486 bits/string.h for i386 and x86_64

This commit is contained in:
H.J. Lu 2012-06-04 13:45:43 -07:00
parent 6704c645b0
commit 0e4a3cd708
3 changed files with 4 additions and 25 deletions

View File

@ -1,6 +1,10 @@
2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
[BZ #14117]
* sysdeps/i386/i486/bits/string.h: Renamed to ...
* sysdeps/x86/bits/string.h: This.
* sysdeps/x86_64/bits/string.h: Removed.
* sysdeps/i386/i486/bits/string.h: Define inline functions only
if not compiling for x86-64, but compiling for >= i486.

View File

@ -1,25 +0,0 @@
/* Optimized, inlined string functions. AMD x86-64 version.
Copyright (C) 2001 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/>. */
#ifndef _STRING_H
# error "Never use <bits/string.h> directly; include <string.h> instead."
#endif
/* Currently the only purpose of this file is to tell the generic inline
macros that unaligned memory access is possible for x86-64. */
#define _STRING_ARCH_unaligned 1