Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter05/binutils-pass1.xml

    rf6820bb6 r7152faa  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    7676             --disable-nls       \
    7777             --enable-gprofng=no \
    78              --disable-werror</userinput></screen>
     78             --disable-werror    \
     79             --enable-default-hash-style=gnu</userinput></screen>
    7980
    8081    <variablelist>
     
    133134      </varlistentry>
    134135
     136      <varlistentry>
     137        <term><parameter>--enable-default-hash-style=gnu</parameter></term>
     138        <listitem>
     139          <para>By default, the linker would generate both the GNU-style
     140          hash table and the classic ELF hash table for shared libraries and
     141          dynamically linked executables.  The hash tables are only intended
     142          for a dynamic linker to perform symbol lookup.  On LFS the dynamic
     143          linker (provided by the Glibc package) will always use the
     144          GNU-style hash table which is faster to query.  So the classic
     145          ELF hash table is completely useless.  This makes the linker
     146          only generate the GNU-style hash table by default, so we can avoid
     147          wasting time to generate the classic ELF hash table when we build
     148          the packages, or wasting disk space to store it.</para>
     149        </listitem>
     150      </varlistentry>
     151
    135152    </variablelist>
    136153
Note: See TracChangeset for help on using the changeset viewer.