[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

r4701 - in glibc-package/trunk/debian: . local/manpages

Author: aurel32
Date: 2011-06-04 14:43:35 +0000 (Sat, 04 Jun 2011)
New Revision: 4701

  * Update local/manpages/ld.so.8 with hardware capabilities documentation.
    Closes: #622385.

Modified: glibc-package/trunk/debian/changelog
--- glibc-package/trunk/debian/changelog	2011-06-04 13:16:32 UTC (rev 4700)
+++ glibc-package/trunk/debian/changelog	2011-06-04 14:43:35 UTC (rev 4701)
@@ -38,6 +38,8 @@
   * Add patches/mips/submitted-dl-platform.diff from Robert Millan to 
     add dl-platform support for MIPS.
   * Add a loongson2f optimized library. Closes: #601419. 
+  * Update local/manpages/ld.so.8 with hardware capabilities documentation.
+    Closes: #622385.
   [ Steve Langasek ]
   * Tighten the dependency on dpkg to a multiarch aware version.

Modified: glibc-package/trunk/debian/local/manpages/ld.so.8
--- glibc-package/trunk/debian/local/manpages/ld.so.8	2011-06-04 13:16:32 UTC (rev 4700)
+++ glibc-package/trunk/debian/local/manpages/ld.so.8	2011-06-04 14:43:35 UTC (rev 4701)
@@ -25,7 +25,8 @@
 From the cache file
 .BR /etc/ld.so.cache
 which contains a compiled list of candidate libraries previously found
-in the augmented library path.
+in the augmented library path. Libraries installed in hardware capabilities
+directories (see below) are prefered to other libraries.
 .IP o
 In the default path
 .BR /lib ,
@@ -157,6 +158,36 @@
 The string \fB$LIB\fR (or equivalently \fB${LIB}\fR) in an rpath corresponds
 to the system libraries directory, which is /lib for the native architecture
 on FHS compliant GNU/Linux systems.
+Libraries might be compiled using hardware-specific instructions which do not
+exist on all CPU. Such libraries should be installed in directories whose name
+defines the hardware capabilities such as \fB/usr/lib/sse2/\fR. The dynamic 
+linker checks these directories against the hardware of the machine and selects
+the best suitable version of a given library. Hardware capabilities directories
+could be cascaded to combine CPU features. Hardware capabilities depends on
+the CPU. The following names are currently recognized:
+.B Alpha
+ev4, ev5, ev56, ev6, ev67
+loongson2e, loongson2f, octeon, octeon2
+.B PowerPC
+4xxmac, altivec, arch_2_05, arch_2_06, booke, cellbe, dfp, efpdouble, efpsingle,
+fpu, ic_snoop, mmu, notb, pa6t, power4, power5, power5+, power6x, ppc32, ppc601,
+ppc64, smt, spe, ucache, vsx
+flush, muldiv, stbar, swap, ultra3, v9, v9v, v9v2
+.B s390
+dfp, eimm, esan3, etf3enh, g5, highgprs, hpage, ldisp, msa, stfle,
+z900, z990, z9-109, z10, zarch
+.B x86 (32-bit only)
+acpi, apic, clflush, cmov, cx8, dts, fxsr, ht, i386, i486, i586, i686, mca, mmx, 
+mtrr, pat, pbe, pge, pn, pse36, sep, ss, sse, sse2, tm
 .PD 0
 .TP 20

Reply to: