Index: BOOK/Makefile
===================================================================
--- BOOK/Makefile	(revision 94787be82c65cfe04a58a449fee4fbc7b09b8828)
+++ BOOK/Makefile	(revision ba9c9ed05bbff1a59178575097a69b2b4243b1f3)
@@ -4,5 +4,5 @@
 CHUNK_QUIET=1
 XSLROOTDIR=/usr/share/xml/docbook/xsl-stylesheets-current
-ARCH=x86 x86_64 x86_64-64 sparc sparc64 sparc64-64 mips mips64 mips64-64 ppc alpha
+ARCH=x86 x86_64 x86_64-64 sparc sparcv8 sparc64 sparc64-64 mips mips64 mips64-64 ppc alpha
 
 # HTML Rendering Chunked
Index: BOOK/cross-tools/sparcv8-chapter.xml
===================================================================
--- BOOK/cross-tools/sparcv8-chapter.xml	(revision ba9c9ed05bbff1a59178575097a69b2b4243b1f3)
+++ BOOK/cross-tools/sparcv8-chapter.xml	(revision ba9c9ed05bbff1a59178575097a69b2b4243b1f3)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../general.ent">
+  %general-entities;
+]>
+
+<chapter id="chapter-cross-tools" xreflabel="Constructing Cross-Compile Tools">
+  <?dbhtml dir="cross-tools"?>
+  <?dbhtml filename="chapter.html"?>
+
+  <title>Constructing Cross-Compile Tools</title>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/introduction.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/cflags.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/variables.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc/linux-libc-headers.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparcv8/binutils.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc/gcc-static.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparcv8/glibc.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc/gcc-final.xml"/>
+
+</chapter>
Index: BOOK/cross-tools/sparcv8/binutils.xml
===================================================================
--- BOOK/cross-tools/sparcv8/binutils.xml	(revision ba9c9ed05bbff1a59178575097a69b2b4243b1f3)
+++ BOOK/cross-tools/sparcv8/binutils.xml	(revision ba9c9ed05bbff1a59178575097a69b2b4243b1f3)
@@ -0,0 +1,99 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+]>
+
+<sect1 id="ch-cross-tools-binutils" role="wrap">
+  <?dbhtml filename="binutils.html"?>
+
+  <title>Cross Binutils-&binutils-version;</title>
+
+  <indexterm zone="ch-cross-tools-binutils">
+    <primary sortas="a-Binutils">Binutils</primary>
+    <secondary>cross tools</secondary>
+  </indexterm>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../../final-system/common/binutils.xml"
+  xpointer="xpointer(//*[@role='package'])"/>
+
+  <sect2 role="installation">
+    <title>Installation of Cross Binutils</title>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../sparc/binutils.xml"
+    xpointer="xpointer(//*[@os='ba'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../sparc/binutils.xml"
+    xpointer="xpointer(//*[@os='bb'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/sparc/binutils.xml"
+    xpointer="xpointer(//*[@os='s3'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/sparc/binutils.xml"
+    xpointer="xpointer(//*[@os='s4'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/common/binutils.xml"
+    xpointer="xpointer(//*[@os='g'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/common/binutils.xml"
+    xpointer="xpointer(//*[@os='h'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/common/binutils.xml"
+    xpointer="xpointer(//*[@os='i'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='bc'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='bd'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='be'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='bf'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='bg'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='bh'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='bi'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='bj'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='bk'])"/>
+
+  </sect2>
+
+  <sect2 role="content">
+    <title/>
+
+    <para>Details on this package are located in <xref
+    linkend="contents-binutils" role="."/></para>
+
+  </sect2>
+
+</sect1>
Index: BOOK/cross-tools/sparcv8/glibc.xml
===================================================================
--- BOOK/cross-tools/sparcv8/glibc.xml	(revision ba9c9ed05bbff1a59178575097a69b2b4243b1f3)
+++ BOOK/cross-tools/sparcv8/glibc.xml	(revision ba9c9ed05bbff1a59178575097a69b2b4243b1f3)
@@ -0,0 +1,159 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+]>
+
+<sect1 id="ch-cross-tools-glibc" role="wrap">
+  <?dbhtml filename="glibc.html"?>
+
+  <title>Glibc-&glibc-linuxthreads-version;</title>
+
+  <indexterm zone="ch-cross-tools-glibc">
+    <primary sortas="a-Glibc">Glibc</primary>
+    <secondary>cross tools</secondary>
+  </indexterm>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../../final-system/common/glibc.xml"
+  xpointer="xpointer(//*[@role='package'])"/>
+
+  <sect2 role="installation">
+    <title>Installation of Glibc</title>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='da'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/sparcv8/glibc.xml"
+    xpointer="xpointer(//*[@os='l1'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/sparcv8/glibc.xml"
+    xpointer="xpointer(//*[@os='l2'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/sparcv8/glibc.xml"
+    xpointer="xpointer(//*[@os='l3'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/sparcv8/glibc.xml"
+    xpointer="xpointer(//*[@os='l4'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='db'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='dc'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/sparcv8/glibc.xml"
+    xpointer="xpointer(//*[@os='l5'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/sparcv8/glibc.xml"
+    xpointer="xpointer(//*[@os='l6'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='c'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='d'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='e'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='f'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/common/glibc.xml"
+    xpointer="xpointer(//*[@os='g'])"/>
+
+<screen os="df"><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc" \
+    AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \
+    ../glibc-&glibc-linuxthreads-version;/configure --prefix=/tools \
+    --host=${LFS_TARGET} --build=${LFS_HOST} \
+    --disable-profile --enable-add-ons --enable-kernel=2.6.0 \
+    --with-binutils=/cross-tools/bin --with-headers=/tools/include</userinput></screen>
+
+    <variablelist os="dg">
+      <title>The meaning of the new configure options:</title>
+
+       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+       href="../common/glibc.xml"
+       xpointer="xpointer(//*[@os='dg1'])"/>
+
+       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+       href="../common/glibc.xml"
+       xpointer="xpointer(//*[@os='dg2'])"/>
+
+       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+       href="../common/glibc.xml"
+       xpointer="xpointer(//*[@os='dg3'])"/>
+
+       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+       href="../common/glibc.xml"
+       xpointer="xpointer(//*[@os='dg4'])"/>
+
+       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+       href="../common/glibc.xml"
+       xpointer="xpointer(//*[@os='dg5'])"/>
+
+       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+       href="../common/glibc.xml"
+       xpointer="xpointer(//*[@os='dg6'])"/>
+
+       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+       href="../common/glibc.xml"
+       xpointer="xpointer(//*[@os='dg9'])"/>
+
+   </variablelist>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='dh'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='di'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='dj'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='dk'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='dl'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='dm'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='dn'])"/>
+
+  </sect2>
+
+  <sect2 role="content">
+    <title/>
+
+    <para>Details on this package are located in <xref
+    linkend="contents-glibc" role="."/></para>
+
+  </sect2>
+
+</sect1>
Index: BOOK/final-system/sparc/glibc.xml
===================================================================
--- BOOK/final-system/sparc/glibc.xml	(revision 94787be82c65cfe04a58a449fee4fbc7b09b8828)
+++ BOOK/final-system/sparc/glibc.xml	(revision ba9c9ed05bbff1a59178575097a69b2b4243b1f3)
@@ -38,5 +38,5 @@
     xpointer="xpointer(//*[@os='d'])"/>
 
-   <para os="s1">This patch will add NPTL support to Sparc, this will allow us to use NPTL:</para>
+   <para os="s1">This patch will add TLS(Thread Local Storage) support to Sparc:</para>
 
 <screen os="s2"><userinput>patch -Np1 -i ../&glibc-sparc_tls-patch;</userinput></screen>
Index: BOOK/final-system/sparcv8-chapter.xml
===================================================================
--- BOOK/final-system/sparcv8-chapter.xml	(revision ba9c9ed05bbff1a59178575097a69b2b4243b1f3)
+++ BOOK/final-system/sparcv8-chapter.xml	(revision ba9c9ed05bbff1a59178575097a69b2b4243b1f3)
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../general.ent">
+  %general-entities;
+]>
+
+<chapter id="chapter-building-system" xreflabel="Installing Basic System Software">
+  <?dbhtml dir="final-system"?>
+  <?dbhtml filename="chapter.html"?>
+
+  <title>Installing Basic System Software</title>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/introduction.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc/linux-libc-headers.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparcv8/glibc.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc/adjusting.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparcv8/binutils.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/coreutils.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/zlib.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/iana-etc.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/findutils.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gawk.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/ncurses.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/readline.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/vim.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/m4.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/bison.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/less.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/groff.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/sed.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/flex.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gettext.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/inetutils.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/perl.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/iproute2.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/texinfo.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/autoconf.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/automake.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/bash.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/file.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/libtool.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/bzip2.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/diffutils.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc/kbd.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/e2fsprogs.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/grep.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gzip.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/man.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/man-pages.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/make.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/module-init-tools.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/patch.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/procps.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/psmisc.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/shadow.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/sysklogd.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc/sysvinit.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/tar.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/util-linux.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/udev.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/mktemp.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/hotplug.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc/elftoaout.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc/silo.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/aboutdebug.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/stripping.xml"/>
+
+</chapter>
Index: BOOK/final-system/sparcv8/binutils.xml
===================================================================
--- BOOK/final-system/sparcv8/binutils.xml	(revision ba9c9ed05bbff1a59178575097a69b2b4243b1f3)
+++ BOOK/final-system/sparcv8/binutils.xml	(revision ba9c9ed05bbff1a59178575097a69b2b4243b1f3)
@@ -0,0 +1,118 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+]>
+
+<sect1 id="ch-system-binutils" role="wrap">
+  <?dbhtml filename="binutils.html"?>
+
+  <title>Binutils-&binutils-version;</title>
+
+  <indexterm zone="ch-system-binutils">
+    <primary sortas="a-Binutils">Binutils</primary>
+  </indexterm>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../common/binutils.xml"
+  xpointer="xpointer(//*[@role='package'])"/>
+
+  <sect2 role="installation">
+    <title>Installation of Binutils</title>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='b'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='c'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='d'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='e'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='f'])"/>
+
+    <para os="s3">This patch will fix issues with binutils Sparc aout support:</para>
+
+<screen os="s4"><userinput>patch -Np1 -i ../&binutils-sparc_aout-patch;</userinput></screen>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='g'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='h'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='i'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='ca'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='j'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='k'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='l'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='m'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='n'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='o'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='p'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='q'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='r'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='s'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='t'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='u'])"/>
+
+  </sect2>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../common/binutils.xml"
+  xpointer="xpointer(id('contents-binutils'))"/>
+
+</sect1>
Index: BOOK/final-system/sparcv8/glibc.xml
===================================================================
--- BOOK/final-system/sparcv8/glibc.xml	(revision ba9c9ed05bbff1a59178575097a69b2b4243b1f3)
+++ BOOK/final-system/sparcv8/glibc.xml	(revision ba9c9ed05bbff1a59178575097a69b2b4243b1f3)
@@ -0,0 +1,142 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+]>
+
+<sect1 id="ch-system-glibc" role="wrap">
+  <title>Glibc-&glibc-linuxthreads-version;</title>
+
+  <?dbhtml filename="glibc.html"?>
+
+  <indexterm zone="ch-system-glibc">
+    <primary sortas="a-Glibc">Glibc</primary>
+  </indexterm>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../common/glibc.xml"
+  xpointer="xpointer(//*[@role='package'])"/>
+
+  <sect2 role="installation">
+    <title>Installation of Glibc</title>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='z'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='b'])"/>
+
+    <para os="l1">This architecture does not currently support NPTL, so we will
+    have to include Glibc Linuxthreads as a threading library. Building
+    for a Linuxthreads based glibc you will need to unpack the
+    <filename>glibc-linuxthreads-&glibc-linuxthreads-version;</filename> tarball from
+    within the <filename class="directory">glibc-&glibc-linuxthreads-version;</filename>
+    directory.</para>
+
+<screen os="l2"><userinput>tar -xjvf /sources/glibc-linuxthreads-&glibc-linuxthreads-version;.tar.bz2</userinput></screen>
+
+    <para os="l3">If you require libidn support, you can add it
+    by unpacking <filename>glibc-libidn-&glibc-linuxthreads-version;</filename>
+    tarball from within the <filename class="directory">glibc-&glibc-linuxthreads-version;</filename>
+    directory. If you used libidn during your cross-tools build, you will need to add it
+    here also.</para>
+
+<screen os="l4"><userinput>tar -xjvf /sources/glibc-libidn-&glibc-linuxthreads-version;.tar.bz2</userinput></screen>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='b'])"/>
+
+<screen os="d"><userinput>patch -Np1 -i ../&glibc-linuxthreads-localedef_segfault-patch;</userinput></screen>
+
+    <para os="l5">NPTL is not supported on Sparc v8 and below, so we need to remove the NPTL from our build.
+    We do this by removing the NPTL directories:</para>
+
+<screen os="l6"><userinput>rm -rf nptl*</userinput></screen>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='e'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='f'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='g'])"/>
+
+<screen os="h"><userinput>../glibc-&glibc-linuxthreads-version;/configure --prefix=/usr \
+    --disable-profile --enable-add-ons --enable-kernel=2.6.0 \
+    --libexecdir=/usr/lib/glibc</userinput></screen>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='i'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='j'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='k'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='l'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='m'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../multilib/glibc-64bit.xml"
+    xpointer="xpointer(//*[@os='n'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../multilib/glibc-64bit.xml"
+    xpointer="xpointer(//*[@os='o'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../multilib/glibc-64bit.xml"
+    xpointer="xpointer(//*[@os='p'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='q'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='r'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='s'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='t'])"/>
+
+  </sect2>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../common/glibc.xml"
+  xpointer="xpointer(id('i18n-glibc'))"/>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../common/glibc.xml"
+  xpointer="xpointer(id('conf-glibc'))"/>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../common/glibc.xml"
+  xpointer="xpointer(id('conf-ld'))"/>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../common/glibc.xml"
+  xpointer="xpointer(id('contents-glibc'))"/>
+
+</sect1>
Index: BOOK/materials/common/packages.xml
===================================================================
--- BOOK/materials/common/packages.xml	(revision 94787be82c65cfe04a58a449fee4fbc7b09b8828)
+++ BOOK/materials/common/packages.xml	(revision ba9c9ed05bbff1a59178575097a69b2b4243b1f3)
@@ -11,9 +11,9 @@
   <title>All Packages</title>
 
-  <para>Download or otherwise obtain the following packages:</para>
+  <para os="a">Download or otherwise obtain the following packages:</para>
 
   <variablelist role="materials">
 
-    <varlistentry>
+    <varlistentry os="b">
       <term>Autoconf (&autoconf-version;) - &autoconf-size;:</term>
       <listitem>
@@ -22,5 +22,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="c">
       <term>Automake (&automake-version;) - &automake-size;:</term>
       <listitem>
@@ -29,5 +29,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="d">
       <term>Bash (&bash-version;) - &bash-size;:</term>
       <listitem>
@@ -36,5 +36,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="e">
       <term>Bash Documentation (&bash-doc-version;) - &bash-doc-size;:</term>
       <listitem>
@@ -43,5 +43,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="f">
       <term>Binutils (&binutils-version;) - &binutils-size;:</term>
       <listitem>
@@ -50,5 +50,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="g">
       <term>Bison (&bison-version;) - &bison-size;:</term>
       <listitem>
@@ -57,5 +57,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="h">
       <term>Bzip2 (&bzip2-version;) - &bzip2-size;:</term>
       <listitem>
@@ -64,5 +64,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="i">
       <term>Coreutils (&coreutils-version;) - &coreutils-size;:</term>
       <listitem>
@@ -71,5 +71,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="j">
       <term>DejaGNU (&dejagnu-version;) - &dejagnu-size;:</term>
       <listitem>
@@ -78,5 +78,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="k">
       <term>Diffutils (&diffutils-version;) - &diffutils-size;:</term>
       <listitem>
@@ -85,5 +85,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="l">
       <term>E2fsprogs (&e2fsprogs-version;) - &e2fsprogs-size;:</term>
       <listitem>
@@ -92,5 +92,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="m">
       <term>Expect (&expect-version;) - &expect-size;:</term>
       <listitem>
@@ -99,5 +99,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="n">
       <term>File (&file-version;) - &file-size;:</term>
       <listitem>
@@ -115,5 +115,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="o">
       <term>Findutils (&findutils-version;) - &findutils-size;:</term>
       <listitem>
@@ -122,5 +122,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p">
       <term>Flex (&flex-version;) - &flex-size;:</term>
       <listitem>
@@ -129,5 +129,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="q">
       <term>Gawk (&gawk-version;) - &gawk-size;:</term>
       <listitem>
@@ -136,5 +136,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="r">
       <term>GCC (&gcc-version;) - &gcc-size;:</term>
       <listitem>
@@ -143,5 +143,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="s">
       <term>Gettext (&gettext-version;) - &gettext-size;:</term>
       <listitem>
@@ -150,5 +150,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="t">
       <term>Glibc (&glibc-version;) - &glibc-size;:</term>
       <listitem>
@@ -157,27 +157,5 @@
     </varlistentry>
 
-<!-- Glibc Release
-    <varlistentry>
-      <term>Glibc (&glibc-version;) - &glibc-size;:</term>
-      <listitem>
-        <para><ulink url="&glibc-url;"/></para>
-      </listitem>
-    </varlistentry>
-
-    <varlistentry>
-      <term>Glibc Libidn (&glibc-version;) - &glibc-libidn-size;:</term>
-      <listitem>
-        <para><ulink url="&glibc-libidn-url;"/></para>
-      </listitem>
-    </varlistentry>
-
-    <varlistentry>
-      <term>Glibc Linuxthreads (&glibc-version;) - &glibc-linuxthreads-size;:</term>
-      <listitem>
-        <para><ulink url="&glibc-linuxthreads-url;"/></para>
-      </listitem>
-    </varlistentry>
--->
-    <varlistentry>
+    <varlistentry os="u">
       <term>Grep (&grep-version;) - &grep-size;:</term>
       <listitem>
@@ -186,5 +164,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="v">
       <term>Groff (&groff-version;) - &groff-size;:</term>
       <listitem>
@@ -193,5 +171,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="w">
       <term>Gzip (&gzip-version;) - &gzip-size;:</term>
       <listitem>
@@ -200,5 +178,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="x">
       <term>Hotplug (&hotplug-version;) - &hotplug-size;:</term>
       <listitem>
@@ -207,5 +185,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="y">
       <term>Iana-Etc (&iana-etc-version;) - &iana-etc-size;:</term>
       <listitem>
@@ -214,5 +192,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="z">
       <term>Inetutils (&inetutils-version;) - &inetutils-size;:</term>
       <listitem>
@@ -221,5 +199,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="aa">
       <term>IPRoute2 (&iproute2-version;) - &iproute2-size;:</term>
       <listitem>
@@ -228,5 +206,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="ab">
       <term>Kbd (&kbd-version;) - &kbd-size;:</term>
       <listitem>
@@ -235,5 +213,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="ac">
       <term>Less (&less-version;) - &less-size;:</term>
       <listitem>
@@ -242,5 +220,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="ad">
       <term>LFS-Bootscripts (&lfs-bootscripts-version;) - &lfs-bootscripts-size;:</term>
       <listitem>
@@ -249,5 +227,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="ae">
       <term>Libtool (&libtool-version;) - &libtool-size;:</term>
       <listitem>
@@ -256,5 +234,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="af">
       <term>Linux (&linux-version;) - &linux-size;:</term>
       <listitem>
@@ -263,5 +241,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="ag">
       <term>Linux-Libc-Headers (&linux-libc-headers-version;) - &linux-libc-headers-size;:</term>
       <listitem>
@@ -270,5 +248,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="ah">
       <term>M4 (&m4-version;) - &m4-size;:</term>
       <listitem>
@@ -277,5 +255,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="ai">
       <term>Make (&make-version;) - &make-size;:</term>
       <listitem>
@@ -284,5 +262,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="aj">
       <term>Man (&man-version;) - &man-size;:</term>
       <listitem>
@@ -291,5 +269,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="ak">
       <term>Man-pages (&man-pages-version;) - &man-pages-size;:</term>
       <listitem>
@@ -298,5 +276,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="al">
       <term>Mktemp (&mktemp-version;) - &mktemp-size;:</term>
       <listitem>
@@ -305,5 +283,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="am">
       <term>Module-Init-Tools (&module-init-tools-version;) - &module-init-tools-size;:</term>
       <listitem>
@@ -312,5 +290,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="an">
       <term>Module-Init-Tools-Testsuite (&module-init-tools-version;) - &module-init-tools-testsuite-size;:</term>
       <listitem>
@@ -319,5 +297,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="ao">
       <term>Ncurses (&ncurses-version;) - &ncurses-size;:</term>
       <listitem>
@@ -326,5 +304,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="ap">
       <term>Patch (&patch-version;) - &patch-size;:</term>
       <listitem>
@@ -333,5 +311,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="aq">
       <term>Perl (&perl-version;) - &perl-size;:</term>
       <listitem>
@@ -340,5 +318,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="ar">
       <term>Procps (&procps-version;) - &procps-size;:</term>
       <listitem>
@@ -347,5 +325,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="as">
       <term>Psmisc (&psmisc-version;) - &psmisc-size;:</term>
       <listitem>
@@ -354,5 +332,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="at">
       <term>Readline (&readline-version;) - &readline-size;:</term>
       <listitem>
@@ -362,5 +340,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="au">
       <term>Sed (&sed-version;) - &sed-size;:</term>
       <listitem>
@@ -369,5 +347,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="av">
       <term>Shadow (&shadow-version;) - &shadow-size;:</term>
       <listitem>
@@ -385,5 +363,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="aw">
       <term>Sysklogd (&sysklogd-version;) - &sysklogd-size;:</term>
       <listitem>
@@ -392,5 +370,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="ax">
       <term>Sysvinit (&sysvinit-version;) - &sysvinit-size;:</term>
       <listitem>
@@ -399,5 +377,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="ay">
       <term>Tar (&tar-version;) - &tar-size;:</term>
       <listitem>
@@ -406,5 +384,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="az">
       <term>Tcl (&tcl-version;) - &tcl-size;:</term>
       <listitem>
@@ -413,5 +391,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="ba">
       <term>Texinfo (&texinfo-version;) - &texinfo-size;:</term>
       <listitem>
@@ -420,5 +398,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="bb">
       <term>Udev (&udev-version;) - &udev-size;:</term>
       <listitem>
@@ -427,5 +405,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="bc">
       <term>Udev Rules Configuration - &udev-config-size;:</term>
       <listitem>
@@ -434,5 +412,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="bd">
       <term>Util-linux (&util-linux-version;) - &util-linux-size;:</term>
       <listitem>
@@ -441,5 +419,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="be">
       <term>Vim (&vim-version;) - &vim-size;:</term>
       <listitem>
@@ -448,5 +426,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="bf">
       <term>Vim (&vim-version;) language files (optional) - &vim-language-size;:</term>
       <listitem>
@@ -455,5 +433,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="bg">
       <term>Zlib (&zlib-version;) - &zlib-size;:</term>
       <listitem>
@@ -464,5 +442,5 @@
   </variablelist>
 
-  <para>Total size of these packages: about 154 MB</para>
+  <para os="bh">Total size of these packages: about 154 MB</para>
 
 </sect1>
Index: BOOK/materials/common/packages2.xml
===================================================================
--- BOOK/materials/common/packages2.xml	(revision ba9c9ed05bbff1a59178575097a69b2b4243b1f3)
+++ BOOK/materials/common/packages2.xml	(revision ba9c9ed05bbff1a59178575097a69b2b4243b1f3)
@@ -0,0 +1,274 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+]>
+
+<sect1 id="ch-materials-packages-common">
+  <?dbhtml filename="packages.html"?>
+
+  <title>All Packages</title>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="packages.xml"
+  xpointer="xpointer(//*[@os='a'])"/>
+
+  <variablelist role="materials">
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='b'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='c'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='d'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='e'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='f'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='g'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='h'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='i'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='j'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='k'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='l'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='m'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='n'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='o'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='p'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='q'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='r'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='s'])"/>
+
+    <varlistentry>
+      <term>Glibc (&glibc-linuxthreads-version;) - &glibc-linuxthreads-size;:</term>
+      <listitem>
+        <para><ulink url="&glibc-linuxthreads-url;"/></para>
+      </listitem>
+    </varlistentry>
+
+    <varlistentry>
+      <term>Glibc Libidn (&glibc-linuxthreads-version;) - &glibc-linuxthreads-libidn-size;:</term>
+      <listitem>
+        <para><ulink url="&glibc-linuxthreads-libidn-url;"/></para>
+      </listitem>
+    </varlistentry>
+
+    <varlistentry>
+      <term>Glibc Linuxthreads (&glibc-linuxthreads-version;) - &glibc-linuxthreads-linuxthreads-size;:</term>
+      <listitem>
+        <para><ulink url="&glibc-linuxthreads-linuxthreads-url;"/></para>
+      </listitem>
+    </varlistentry>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='u'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='v'])"/>
+	
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='w'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='x'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='y'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='z'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='aa'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='ab'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='ac'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='ad'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='ae'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='af'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='ag'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='ah'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='ai'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='aj'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='ak'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='al'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='am'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='an'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='ao'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='ap'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='aq'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='ar'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='as'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='at'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='au'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='av'])"/>
+	
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='aw'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='ax'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='ay'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='az'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='ba'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='bb'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='bc'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='bd'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='be'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='bf'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='bg'])"/>
+
+  </variablelist>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='bh'])"/>
+
+</sect1>
Index: BOOK/materials/common/patches.xml
===================================================================
--- BOOK/materials/common/patches.xml	(revision 94787be82c65cfe04a58a449fee4fbc7b09b8828)
+++ BOOK/materials/common/patches.xml	(revision ba9c9ed05bbff1a59178575097a69b2b4243b1f3)
@@ -11,5 +11,5 @@
   <title>Needed Patches</title>
 
-  <para>In addition to the packages, several patches are also required.
+  <para os="a">In addition to the packages, several patches are also required.
   These patches correct any mistakes in the packages that should be
   fixed by the maintainer. The patches also make small modifications to
@@ -19,5 +19,5 @@
   <variablelist role="materials">
 
-    <varlistentry>
+    <varlistentry os="p1">
       <term>Bash Avoid Wcontinued Patch - 1 KB:</term>
       <listitem>
@@ -27,5 +27,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p2">
       <term>Bash Various Fixes - 23 KB:</term>
       <listitem>
@@ -35,5 +35,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p3">
       <term>Binutils Posix Patch - 1 KB:</term>
       <listitem>
@@ -43,5 +43,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p4">
       <term>Bzip2 Bzgrep Security Fixes Patch - 1 KB:</term>
       <listitem>
@@ -51,5 +51,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p5">
       <term>Bzip2 Documentation Patch - 1 KB:</term>
       <listitem>
@@ -59,5 +59,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p6">
       <term>Coreutils Suppress Uptime, Kill, Su Patch - 15 KB:</term>
       <listitem>
@@ -67,5 +67,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p7">
       <term>Expect Spawn Patch - 7 KB:</term>
       <listitem>
@@ -75,5 +75,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p8">
       <term>Flex Brokenness Patch - 156 KB:</term>
       <listitem>
@@ -83,5 +83,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p9">
       <term>Gawk Segfault Patch - 2 KB:</term>
       <listitem>
@@ -91,5 +91,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p10">
       <term>GCC Cross Search Paths Patch - 2 KB:</term>
       <listitem>
@@ -99,5 +99,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p11">
       <term>GCC Posix Patch - 9 KB:</term>
       <listitem>
@@ -107,5 +107,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p12">
       <term>Glibc Disable linking with libgcc_eh.a - 1 KB:</term>
       <listitem>
@@ -115,5 +115,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p13">
       <term>Glibc Localedef Segfault - 2 KB:</term>
       <listitem>
@@ -123,5 +123,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p14">
       <term>Gzip Security Fix Patch - 2 KB:</term>
       <listitem>
@@ -131,5 +131,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p15">
       <term>Inetutils GCC 4.x Fixes Patch - 2 KB:</term>
       <listitem>
@@ -139,5 +139,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p16">
       <term>Inetutils No-Server-Man-Pages Patch - 4 KB:</term>
       <listitem>
@@ -147,5 +147,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p17">
       <term>KBD GCC 4.x Fixes Patch - 2 KB:</term>
       <listitem>
@@ -155,5 +155,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p18">
       <term>Mktemp Tempfile Patch - 4 KB:</term>
       <listitem>
@@ -163,5 +163,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p19">
       <term>Perl Libc Patch - 1 KB:</term>
       <listitem>
@@ -171,5 +171,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p20">
       <term>Readline Various Fixes Patch - 6.9 KB:</term>
       <listitem>
@@ -179,5 +179,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p21">
       <term>Shadow Configure Fixes Patch - 2 KB:</term>
       <listitem>
@@ -187,5 +187,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p22">
       <term>Sysklogd Fixes Patch - 27 KB:</term>
       <listitem>
@@ -195,5 +195,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p23">
       <term>Tar GCC-4.x Fix Patch - 1 KB:</term>
       <listitem>
@@ -203,5 +203,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p24">
       <term>Tar Sparse Fix Patch - 1 KB:</term>
       <listitem>
@@ -211,5 +211,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p25">
        <term>Texinfo Tempfile Fix Patch - 2 KB:</term>
        <listitem>
@@ -218,5 +218,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p26">
       <term>Util-linux Cramfs Patch - 3 KB:</term> <listitem>
         <para><ulink
@@ -225,5 +225,5 @@
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p27">
       <term>Util-linux GCC 4.x Patch - 1  KB:</term> <listitem>
         <para><ulink
@@ -234,5 +234,5 @@
   </variablelist>
 
-  <para>In addition to the above required patches, there exist a number of
+  <para os="b">In addition to the above required patches, there exist a number of
   optional patches created by the LFS community. These optional patches
   solve minor problems or enable functionality that is not enabled by
Index: BOOK/materials/common/patches2.xml
===================================================================
--- BOOK/materials/common/patches2.xml	(revision ba9c9ed05bbff1a59178575097a69b2b4243b1f3)
+++ BOOK/materials/common/patches2.xml	(revision ba9c9ed05bbff1a59178575097a69b2b4243b1f3)
@@ -0,0 +1,141 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+]>
+
+<sect1 id="ch-materials-patches-common">
+  <?dbhtml filename="patches.html"?>
+
+  <title>Needed Patches</title>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="patches.xml"
+  xpointer="xpointer(//*[@os='a'])"/>
+
+  <variablelist role="materials">
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="patches.xml"
+    xpointer="xpointer(//*[@os='p1'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="patches.xml"
+    xpointer="xpointer(//*[@os='p2'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="patches.xml"
+    xpointer="xpointer(//*[@os='p3'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="patches.xml"
+    xpointer="xpointer(//*[@os='p4'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="patches.xml"
+    xpointer="xpointer(//*[@os='p5'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="patches.xml"
+    xpointer="xpointer(//*[@os='p6'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="patches.xml"
+    xpointer="xpointer(//*[@os='p7'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="patches.xml"
+    xpointer="xpointer(//*[@os='p8'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="patches.xml"
+    xpointer="xpointer(//*[@os='p9'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="patches.xml"
+    xpointer="xpointer(//*[@os='p10'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="patches.xml"
+    xpointer="xpointer(//*[@os='p11'])"/>
+
+    <varlistentry>
+      <term>Glibc Disable linking with libgcc_eh.a - 1 KB:</term>
+      <listitem>
+        <para><ulink
+        url="&patches-root;glibc/&glibc-linuxthreads-libgcc_eh-patch;"/></para>
+      </listitem>
+    </varlistentry>
+
+    <varlistentry>
+      <term>Glibc Localedef Segfault - 2 KB:</term>
+      <listitem>
+        <para><ulink
+        url="&patches-root;glibc/&glibc-linuxthreads-localedef_segfault-patch;"/></para>
+      </listitem>
+    </varlistentry>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="patches.xml"
+    xpointer="xpointer(//*[@os='p14'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="patches.xml"
+    xpointer="xpointer(//*[@os='p15'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="patches.xml"
+    xpointer="xpointer(//*[@os='p16'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="patches.xml"
+    xpointer="xpointer(//*[@os='p17'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="patches.xml"
+    xpointer="xpointer(//*[@os='p18'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="patches.xml"
+    xpointer="xpointer(//*[@os='p19'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="patches.xml"
+    xpointer="xpointer(//*[@os='p20'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="patches.xml"
+    xpointer="xpointer(//*[@os='p21'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="patches.xml"
+    xpointer="xpointer(//*[@os='p22'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="patches.xml"
+    xpointer="xpointer(//*[@os='p23'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="patches.xml"
+    xpointer="xpointer(//*[@os='p24'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="patches.xml"
+    xpointer="xpointer(//*[@os='p25'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="patches.xml"
+    xpointer="xpointer(//*[@os='p26'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="patches.xml"
+    xpointer="xpointer(//*[@os='p27'])"/>
+
+  </variablelist>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="patches.xml"
+  xpointer="xpointer(//*[@os='b'])"/>
+
+</sect1>
Index: BOOK/materials/sparcv8-chapter.xml
===================================================================
--- BOOK/materials/sparcv8-chapter.xml	(revision ba9c9ed05bbff1a59178575097a69b2b4243b1f3)
+++ BOOK/materials/sparcv8-chapter.xml	(revision ba9c9ed05bbff1a59178575097a69b2b4243b1f3)
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../general.ent">
+  %general-entities;
+]>
+
+<chapter id="chapter-getting-materials" xreflabel="Packages and Patches">
+  <?dbhtml dir="materials"?>
+  <?dbhtml filename="chapter.html"?>
+
+  <title>Packages and Patches</title>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/introduction.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/packages2.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc/packages.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/patches2.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparcv8/patches.xml"/>
+
+</chapter>
Index: BOOK/materials/sparcv8/patches.xml
===================================================================
--- BOOK/materials/sparcv8/patches.xml	(revision ba9c9ed05bbff1a59178575097a69b2b4243b1f3)
+++ BOOK/materials/sparcv8/patches.xml	(revision ba9c9ed05bbff1a59178575097a69b2b4243b1f3)
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+]>
+
+<sect1 id="ch-materials-patches-sparc">
+  <?dbhtml filename="patches-sparc.html"?>
+
+  <title>Additional Patches for Sparc</title>
+
+  <variablelist role="materials">
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../sparc/patches.xml"
+    xpointer="xpointer(//*[@os='binutils-sparc_aout-patch'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../x86/patches.xml"
+    xpointer="xpointer(//*[@os='gcc-specs-patch'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../sparc/patches.xml"
+    xpointer="xpointer(//*[@os='kbd-sparc_kbdrate-patch'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../sparc/patches.xml"
+    xpointer="xpointer(//*[@os='linux-libc-headers-sparc_conflicts-patch'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../sparc/patches.xml"
+    xpointer="xpointer(//*[@os='silo-fixes-patch'])"/>
+
+  </variablelist>
+
+</sect1>
Index: BOOK/packages.ent
===================================================================
--- BOOK/packages.ent	(revision 94787be82c65cfe04a58a449fee4fbc7b09b8828)
+++ BOOK/packages.ent	(revision ba9c9ed05bbff1a59178575097a69b2b4243b1f3)
@@ -100,8 +100,11 @@
 <!ENTITY glibc-linuxthreads-version "2.3.6">
 <!ENTITY glibc-linuxthreads-size "14 MB">
-<!ENTITY glibc-linuxthreads-url "&gnu;glibc/glibc-&glibc-linuxthreds-version;.tar.bz2">
-
-<!ENTITY glibc-linuxthreads-thread-size "14 MB">
-<!ENTITY glibc-linuxthreads-thread-url "&gnu;glibc/glibc-&glibc-linuxthreads-version;.tar.bz2">
+<!ENTITY glibc-linuxthreads-url "&gnu;glibc/glibc-&glibc-linuxthreads-version;.tar.bz2">
+
+<!ENTITY glibc-linuxthreads-linuxthreads-size "238 KB">
+<!ENTITY glibc-linuxthreads-linuxthreads-url "&gnu;glibc/glibc-linuxthreads-&glibc-linuxthreads-version;.tar.bz2">
+
+<!ENTITY glibc-linuxthreads-libidn-size "99 KB">
+<!ENTITY glibc-linuxthreads-libidn-url "&gnu;glibc/glibc-libidn-&glibc-linuxthreads-version;.tar.bz2">
 
 <!ENTITY grep-version "2.5.1a">
Index: BOOK/patches.ent
===================================================================
--- BOOK/patches.ent	(revision 94787be82c65cfe04a58a449fee4fbc7b09b8828)
+++ BOOK/patches.ent	(revision ba9c9ed05bbff1a59178575097a69b2b4243b1f3)
@@ -26,4 +26,7 @@
 <!ENTITY glibc-libgcc_eh-patch "glibc-&glibc-version;-libgcc_eh-1.patch">
 <!ENTITY glibc-localedef_segfault-patch "glibc-&glibc-version;-localedef_segfault-1.patch">
+
+<!ENTITY glibc-linuxthreads-libgcc_eh-patch "glibc-&glibc-linuxthreads-version;-libgcc_eh-1.patch">
+<!ENTITY glibc-linuxthreads-localedef_segfault-patch "glibc-&glibc-linuxthreads-version;-localedef_segfault-1.patch">
 
 <!ENTITY gzip-security_fix-patch "gzip-&gzip-version;-security_fixes-1.patch">
Index: BOOK/sparcv8-index.xml
===================================================================
--- BOOK/sparcv8-index.xml	(revision ba9c9ed05bbff1a59178575097a69b2b4243b1f3)
+++ BOOK/sparcv8-index.xml	(revision ba9c9ed05bbff1a59178575097a69b2b4243b1f3)
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "general.ent">
+  %general-entities;
+]>
+
+<book>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="prologue/sparc/bookinfo.xml"/>
+  <!--
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="prologue/dedication.xml"/>
+  -->
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="prologue/preface.xml"/>
+
+  <part id="part1">
+    <?dbhtml filename="part1.html"?>
+
+    <title>Introduction</title>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="introduction/sparc-chapter.xml"/>
+
+  </part>
+
+  <part id="part2">
+    <?dbhtml filename="part2.html"?>
+
+    <title>Preparing for the Build</title>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="partitioning/sparc-chapter.xml"/>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="materials/sparcv8-chapter.xml"/>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="final-preps/chapter.xml"/>
+
+  </part>
+
+  <part id="part3">
+    <?dbhtml filename="part3.html"?>
+
+    <title>Make the Cross-Compile Tools</title>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="cross-tools/sparcv8-chapter.xml"/>
+
+  </part>
+
+  <part id="part4">
+    <?dbhtml filename="part4.html"?>
+
+    <title>Building the Basic Tools</title>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="temp-system/sparc-chapter.xml"/>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="boot/sparc-chapter.xml"/>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="chroot/sparc-chapter.xml"/>
+
+  </part>
+
+  <part id="part5">
+    <?dbhtml filename="part5.html"?>
+
+    <title>Building the LFS System</title>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="temp-tools/sparc-chapter.xml"/>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="final-system/sparcv8-chapter.xml"/>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="bootscripts/sparc-chapter.xml"/>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="bootable/sparc-chapter.xml"/>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="the-end/chapter.xml"/>
+
+  </part>
+
+  <part id="part6">
+    <?dbhtml filename="part6.html"?>
+
+    <title>Appendices</title>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="appendices/acronymlist.xml"/>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="appendices/acknowledgments.xml"/>
+
+  </part>
+
+  <index/>
+
+</book>
Index: BOOK/stylesheets/top-index.xsl
===================================================================
--- BOOK/stylesheets/top-index.xsl	(revision 94787be82c65cfe04a58a449fee4fbc7b09b8828)
+++ BOOK/stylesheets/top-index.xsl	(revision ba9c9ed05bbff1a59178575097a69b2b4243b1f3)
@@ -132,4 +132,11 @@
           <li>
             <h4>
+              <a href="sparcv8">
+                <xsl:text>Sparc v8 and below</xsl:text>
+              </a>
+            </h4>
+          </li>
+          <li>
+            <h4>
               <a href="sparc">
                 <xsl:text>Sparc v9 and above</xsl:text>
Index: BOOK/temp-system/sparcv8-chapter.xml
===================================================================
--- BOOK/temp-system/sparcv8-chapter.xml	(revision ba9c9ed05bbff1a59178575097a69b2b4243b1f3)
+++ BOOK/temp-system/sparcv8-chapter.xml	(revision ba9c9ed05bbff1a59178575097a69b2b4243b1f3)
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../general.ent">
+  %general-entities;
+]>
+
+<chapter id="chapter-temp-system" xreflabel="Constructing a Temporary System">
+  <?dbhtml dir="temp-system"?>
+  <?dbhtml filename="chapter.html"?>
+
+  <title>Constructing a Temporary System</title>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/introduction.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/variables.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparcv8/binutils.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc/gcc.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/zlib.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gawk.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/coreutils.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/bzip2.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gzip.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/diffutils.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/findutils.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/make.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/grep.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/sed.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gettext.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/ncurses.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/patch.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/tar.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/bash.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/choose.xml"/>
+
+</chapter>
Index: BOOK/temp-system/sparcv8/binutils.xml
===================================================================
--- BOOK/temp-system/sparcv8/binutils.xml	(revision ba9c9ed05bbff1a59178575097a69b2b4243b1f3)
+++ BOOK/temp-system/sparcv8/binutils.xml	(revision ba9c9ed05bbff1a59178575097a69b2b4243b1f3)
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+]>
+
+<sect1 id="ch-temp-system-binutils" role="wrap">
+  <?dbhtml filename="binutils.html"?>
+
+  <title>Binutils-&binutils-version;</title>
+
+  <indexterm zone="ch-temp-system-binutils">
+    <primary sortas="a-Binutils">Binutils</primary>
+    <secondary>temporary system</secondary>
+  </indexterm>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../../final-system/common/binutils.xml"
+  xpointer="xpointer(//*[@role='package'])"/>
+
+  <sect2 role="installation">
+    <title>Installation of Binutils</title>
+
+    <para os="da">It is important that Binutils be the first package compiled
+    because both Glibc and GCC perform various tests on the available
+    linker and assembler to determine which of their own features to
+    enable.</para>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../cross-tools/common/binutils.xml"
+    xpointer="xpointer(//*[@os='ba'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../cross-tools/common/binutils.xml"
+    xpointer="xpointer(//*[@os='bb'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/sparc/binutils.xml"
+    xpointer="xpointer(//*[@os='s3'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/sparc/binutils.xml"
+    xpointer="xpointer(//*[@os='s4'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/common/binutils.xml"
+    xpointer="xpointer(//*[@os='g'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/common/binutils.xml"
+    xpointer="xpointer(//*[@os='h'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/common/binutils.xml"
+    xpointer="xpointer(//*[@os='i'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/common/binutils.xml"
+    xpointer="xpointer(//*[@os='j'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../cross-tools/common/binutils.xml"
+    xpointer="xpointer(//*[@os='be'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../cross-tools/common/binutils.xml"
+    xpointer="xpointer(//*[@os='bf'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../cross-tools/common/binutils.xml"
+    xpointer="xpointer(//*[@os='bh'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../cross-tools/common/binutils.xml"
+    xpointer="xpointer(//*[@os='bi'])"/>
+
+  </sect2>
+
+  <sect2 role="content">
+    <title/>
+
+    <para>Details on this package are located in <xref
+    linkend="contents-binutils" role="."/></para>
+
+  </sect2>
+
+</sect1>
