Magellan Linux

Contents of /trunk/coreutils/patches-5.3.0/coreutils-5.3.0-i486.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 44 - (show annotations) (download)
Thu Oct 13 21:17:16 2005 UTC (18 years, 6 months ago) by niro
File size: 747 byte(s)
patch set for coretutils-5.3.0

1 shred uses the rdtsc instruction, which will not compile on any
2 machine less than i586. i486 is the only architecture supported
3 by gentoo affected.
4
5 Fix by taviso@gentoo.org
6
7 http://bugs.gentoo.org/show_bug.cgi?id=32429
8
9 CVS shred.c has been rewritten so it doesn't contain this asm
10 code anymore ... which means it's indirectly fixed ;)
11
12 --- coreutils-5.0.91/src/shred.c
13 +++ coreutils-5.0.91/src/shred.c
14 @@ -518,7 +518,7 @@
15 #define ISAAC_SEED(s,x) isaac_seed_data (s, &(x), sizeof (x))
16
17
18 -#if __GNUC__ >= 2 && (__i386__ || __alpha__)
19 +#if __GNUC__ >= 2 && (__i386__ || __alpha__) && !(__i486__)
20 /*
21 * Many processors have very-high-resolution timer registers,
22 * The timer registers can be made inaccessible, so we have to deal with the