Changeset 2576866 for chapter05


Ignore:
Timestamp:
12/31/2023 09:57:54 PM (8 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/arm64
Children:
9f894d5
Parents:
00de269 (diff), 6fec3f5 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge remote-tracking branch 'origin/trunk' into xry111/arm64

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter05/binutils-pass1.xml

    r00de269 r2576866  
    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 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.