mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-07-04 19:39:52 +01:00
loongarch: Update ELF loader paths
See https://sourceware.org/glibc/wiki/ABIList#loongarch. Currently we don't consider soft-float because there is no soft-float hardwares or distros available.
This commit is contained in:
parent
a84c732af9
commit
8ec5b5370d
@ -201,11 +201,11 @@ readelf -l a.out | grep ld-linux</userinput></screen>
|
|||||||
<para>If everything is working correctly, there should be no errors,
|
<para>If everything is working correctly, there should be no errors,
|
||||||
and the output of the last command will be of the form:</para>
|
and the output of the last command will be of the form:</para>
|
||||||
|
|
||||||
<screen><computeroutput>[Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]</computeroutput></screen>
|
<screen><computeroutput>[Requesting program interpreter: /lib64/ld-linux-loongarch-lp64d.so.1]</computeroutput></screen>
|
||||||
|
<!--
|
||||||
<para>Note that for 32-bit machines, the interpreter name will be
|
<para>Note that for 32-bit machines, the interpreter name will be
|
||||||
<filename>/lib/ld-linux.so.2</filename>.</para>
|
<filename>/lib/ld-linux.so.2</filename>.</para>
|
||||||
|
-->
|
||||||
<para>If the output is not as shown above, or there is no output at all,
|
<para>If the output is not as shown above, or there is no output at all,
|
||||||
then something is wrong. Investigate and retrace the steps to find out
|
then something is wrong. Investigate and retrace the steps to find out
|
||||||
where the problem is and correct it. This issue must be resolved before
|
where the problem is and correct it. This issue must be resolved before
|
||||||
|
@ -234,7 +234,7 @@ readelf -l a.out | grep ': /lib'</userinput></screen>
|
|||||||
and the output of the last command will be (allowing for
|
and the output of the last command will be (allowing for
|
||||||
platform-specific differences in the dynamic linker name):</para>
|
platform-specific differences in the dynamic linker name):</para>
|
||||||
|
|
||||||
<screen><computeroutput>[Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]</computeroutput></screen>
|
<screen><computeroutput>[Requesting program interpreter: /lib64/ld-linux-loongarch-lp64d.so.1]</computeroutput></screen>
|
||||||
|
|
||||||
<para>Now make sure that we're set up to use the correct start files:</para>
|
<para>Now make sure that we're set up to use the correct start files:</para>
|
||||||
|
|
||||||
@ -312,7 +312,7 @@ SEARCH_DIR("/usr/lib");</computeroutput></screen>
|
|||||||
<para>The output of the last command should be (allowing for
|
<para>The output of the last command should be (allowing for
|
||||||
platform-specific differences in dynamic linker name):</para>
|
platform-specific differences in dynamic linker name):</para>
|
||||||
|
|
||||||
<screen><computeroutput>found ld-linux-x86-64.so.2 at /usr/lib/ld-linux-x86-64.so.2</computeroutput></screen>
|
<screen><computeroutput>found ld-linux-loongarch-lp64d.so.1 at /usr/lib/ld-linux-loongarch-lp64d.so.1</computeroutput></screen>
|
||||||
|
|
||||||
<para>If the output does not appear as shown above or is not received
|
<para>If the output does not appear as shown above or is not received
|
||||||
at all, then something is seriously wrong. Investigate and retrace the
|
at all, then something is seriously wrong. Investigate and retrace the
|
||||||
|
@ -46,8 +46,8 @@
|
|||||||
(The related entry in <xref linkend="pkgmgmt-upgrade-issues"/> gives the
|
(The related entry in <xref linkend="pkgmgmt-upgrade-issues"/> gives the
|
||||||
rationale for using the <command>install</command> command here.)</para>
|
rationale for using the <command>install</command> command here.)</para>
|
||||||
|
|
||||||
<note><para>The ELF loader's name is ld-linux-x86-64.so.2 on 64-bit systems
|
<note><para>The ELF loader's name may vary on different systems.
|
||||||
and ld-linux.so.2 on 32-bit systems. The construct below selects the
|
The construct below selects the
|
||||||
correct name for the current architecture, excluding anything ending
|
correct name for the current architecture, excluding anything ending
|
||||||
with <quote>g</quote>, in case the commands below have already been
|
with <quote>g</quote>, in case the commands below have already been
|
||||||
run.</para></note>
|
run.</para></note>
|
||||||
|
Loading…
Reference in New Issue
Block a user