Linux sysname entries

Krysak, Tony tony.krysak at lmco.com
Tue Feb 15 22:47:16 CET 2000


Differences between Pentium, K6/Athlon, and traditional i386
architectures can cause instruction fault's when executing
optimized code on slightly different CPU's.  We're using @sys
to differentiate our lib & bin directories and I patch
gensysname.c to add i686 and i586 architectures....maybe you'd
like to incorporate this...

--------------------------------------------------------------------------

--- lib/ko/gensysname.c.orig    Sun Jan 30 10:39:06 2000
+++ lib/ko/gensysname.c Tue Feb 15 14:37:41 2000
@@ -125,6 +125,10 @@
 struct sysname sysnames[] = {
     { "sparc_linux6", "sparc", "*", "linux-gnu*", &linux_glibc_test },
     { "sparc_linux5", "sparc", "*", "linux-gnu*", NULL },
+    { "i686_linux6", "i686*", "*pc*", "linux-gnu*", &linux_glibc_test },
+    { "i686_linux5", "i686*", "*pc*", "linux-gnu*", NULL },
+    { "i586_linux6", "i586*", "*pc*", "linux-gnu*", &linux_glibc_test },
+    { "i586_linux5", "i586*", "*pc*", "linux-gnu*", NULL },
     { "i386_linux6", "i*86*", "*pc*", "linux-gnu*", &linux_glibc_test },
     { "i386_linux5", "i*86*", "*pc*", "linux-gnu*", NULL },
     { "alpha_linux6", "alpha", "*", "linux-gnu*", &linux_glibc_test },

--------------------------------------------------------------------------






More information about the Arla-drinkers mailing list