Adjust interpreter for aarch64.

This commit is contained in:
William Harrington 2022-03-03 10:47:43 -06:00
parent a3f7b4385a
commit 426a539337

View File

@ -205,7 +205,7 @@ readelf -l a.out | grep ': /lib'</userinput></screen>
and the output of the last command will be (allowing for
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-aarch64.so.1]</computeroutput></screen>
<para>Now make sure that we're setup to use the correct start files:</para>
@ -232,7 +232,7 @@ readelf -l a.out | grep ': /lib'</userinput></screen>
<para>This command should return the following output:</para>
<screen><computeroutput>#include &lt;...&gt; search starts here:
/usr/lib/gcc/aarch-64-unknown-linux-gnu/&gcc-version;/include
/usr/lib/gcc/aarch64-unknown-linux-gnu/&gcc-version;/include
/usr/local/include
/usr/lib/gcc/aarch64-unknown-linux-gnu/&gcc-version;/include-fixed
/usr/include</computeroutput></screen>
@ -279,7 +279,7 @@ SEARCH_DIR("/usr/lib");</computeroutput></screen>
<para>The output of the last command should be (allowing for
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-aarch64.so.1 at /usr/lib/ld-linux-aarch64.so.1</computeroutput></screen>
<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