Changeset 8b9efe67


Ignore:
Timestamp:
08/26/2022 12:31:32 PM (2 years ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/arm64, xry111/arm64-12.0
Children:
728b8d8
Parents:
c18558c
git-author:
Xi Ruoyao <xry111@…> (08/24/2022 03:50:29 PM)
git-committer:
Xi Ruoyao <xry111@…> (08/26/2022 12:31:32 PM)
Message:

arm64: update ELF loader paths

See https://sourceware.org/glibc/wiki/ABIList#aarch64.

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • chapter05/glibc.xml

    rc18558c r8b9efe67  
    181181      and the output of the last command will be of the form:</para>
    182182
    183 <screen><computeroutput>[Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]</computeroutput></screen>
    184 
    185       <para>Note that for 32-bit machines, the interpreter name will be
    186       <filename>/lib/ld-linux.so.2</filename>.</para>
     183<screen><computeroutput>[Requesting program interpreter: /lib/ld-linux-aarch64.so.1]</computeroutput></screen>
     184
     185      <para>Note that for big-endian machines, the interpreter name will be
     186          <filename>/lib/ld-linux-aarch64_be.so.1</filename>.</para>
    187187
    188188      <para>If the output is not shown as above or there was no output at all,
  • chapter08/gcc.xml

    rc18558c r8b9efe67  
    193193  platform-specific differences in the dynamic linker name):</para>
    194194
    195 <screen><computeroutput>[Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]</computeroutput></screen>
     195<screen><computeroutput>[Requesting program interpreter: /lib/ld-linux-aarch64.so.1]</computeroutput></screen>
    196196
    197197  <para>Now make sure that we're setup to use the correct start files:</para>
     
    271271  platform-specific differences in dynamic linker name):</para>
    272272
    273 <screen><computeroutput>found ld-linux-x86-64.so.2 at /usr/lib/ld-linux-x86-64.so.2</computeroutput></screen>
     273<screen><computeroutput>found ld-linux-aarch64.so.1 at /usr/lib/ld-linux-aarch64.so.1</computeroutput></screen>
    274274
    275275  <para>If the output does not appear as shown above or is not received
  • chapter08/glibc.xml

    rc18558c r8b9efe67  
    448448
    449449    <para>By default, the dynamic loader (<filename
    450     class="libraryfile">/lib/ld-linux.so.2</filename>) searches through
     450    class="libraryfile">/lib/ld-linux-aarch64.so.1</filename>) searches through
    451451    <filename class="directory">/usr/lib</filename> for dynamic libraries
    452452    that are needed by programs as they are run. However, if there are
     
    496496        <seg>gencat, getconf, getent, iconv, iconvconfig, ldconfig,
    497497        ldd, lddlibc4,
    498         ld.so (symlink to ld-linux-x86-64.so.2 or ld-linux.so.2),
     498        ld.so (symlink to ld-linux-aarch64[_be].so.1),
    499499        locale, localedef, makedb, mtrace, nscd,
    500500        pcprofiledump, pldd, sln, sotruss, sprof, tzselect, xtrace,
    501501        zdump, and zic</seg>
    502         <seg>ld-linux-x86-64.so.2, ld-linux.so.2,
     502        <seg>ld-linux-aarch64[_be].so.1,
    503503        libBrokenLocale.{a,so}, libanl.{a,so},
    504504        libc.{a,so}, libc_nonshared.a, libc_malloc_debug.so,
  • chapter08/stripping.xml

    rc18558c r8b9efe67  
    4747  rationale to use the <command>install</command> command here.</para>
    4848
    49   <note><para>The ELF loader's name is ld-linux-x86-64.so.2 on 64-bit systems
    50   and ld-linux.so.2 on 32-bit systems.  The construct below selects the
     49  <note><para>The ELF loader's name is ld-linux-aarch64.so.1 on
     50  little-endian systems and ld-linux-aarch64_be.so.1 on big-endian systems.
     51  The construct below selects the
    5152  correct name for the current architecture, excluding anything ending
    5253  with <quote>g</quote>, in case the commands below have already been
Note: See TracChangeset for help on using the changeset viewer.