Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in src/patchsets/glibc/2.7: 1085_all_glibc-omitfp-memmove.patch
Date: Mon, 10 Dec 2007 01:17:02
Message-Id: E1J1XGT-0000T9-GE@stork.gentoo.org
1 vapier 07/12/10 01:16:57
2
3 Added: 1085_all_glibc-omitfp-memmove.patch
4 Log:
5 workaround for #196926 until upstream gets it fixed
6
7 Revision Changes Path
8 1.1 src/patchsets/glibc/2.7/1085_all_glibc-omitfp-memmove.patch
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/glibc/2.7/1085_all_glibc-omitfp-memmove.patch?rev=1.1&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/glibc/2.7/1085_all_glibc-omitfp-memmove.patch?rev=1.1&content-type=text/plain
12
13 Index: 1085_all_glibc-omitfp-memmove.patch
14 ===================================================================
15 use this one pending a real fix committed to upstream repo
16
17 http://sourceware.org/ml/libc-alpha/2007-10/msg00054.html
18 http://bugs.gentoo.org/196926
19
20 2007-10-21 Nix <nix@××××××××××.uk>
21
22 * sysdeps/i386/i486/bits/string.h (memmove): New macro.
23 Function of that name renamed to...
24 * sysdeps/i386/i486/bits/string.h (__memmove_g): ... this.
25
26 --- libc/sysdeps/i386/i486/bits/string.h
27 +++ libc/sysdeps/i386/i486/bits/string.h
28 @@ -143,10 +143,13 @@
29
30 #define _HAVE_STRING_ARCH_memmove 1
31 #ifndef _FORCE_INLINES
32 +#define memmove(dest, src, n) \
33 + __memmove_g ((dest), (src), (n))
34 +
35 /* Copy N bytes of SRC to DEST, guaranteeing
36 correct behavior for overlapping strings. */
37 __STRING_INLINE void *
38 -memmove (void *__dest, __const void *__src, size_t __n)
39 +__memmove_g (void *__dest, __const void *__src, size_t __n)
40 {
41 register unsigned long int __d0, __d1, __d2;
42 register void *__tmp = __dest;
43
44
45
46 --
47 gentoo-commits@g.o mailing list