Ignore:
Timestamp:
12/30/2023 06:37:07 PM (6 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.1, 12.1-rc1, multilib, trunk, xry111/arm64, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.1, xry111/mips64el, xry111/update-glibc
Children:
2576866, 6c474a7, acde0a3, ba41e17
Parents:
8b4fb12
git-author:
Xi Ruoyao <xry111@…> (12/30/2023 06:33:59 PM)
git-committer:
Xi Ruoyao <xry111@…> (12/30/2023 06:37:07 PM)
Message:

binutils: Add --enable-default-hash-style=gnu for configure (#5401)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter05/binutils-pass1.xml

    r8b4fb12 r6fec3f5  
    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.