Browse Source

chapter05: Fix wrong ELF interpreter name in Caution

This is obviously wrong.  I've notified the author in mail.
Xi Ruoyao 7 years ago
parent
commit
83dc0d2494
1 changed files with 4 additions and 3 deletions
  1. 4 3
      chapter05/gcc-pass2.xml

+ 4 - 3
chapter05/gcc-pass2.xml

@@ -238,12 +238,13 @@ readelf -l a.out | grep ': /tools'</userinput></screen>
     <para>如果一切正常,这些命令应该不产生错误,
     <para>如果一切正常,这些命令应该不产生错误,
 		且最后一行命令的输出格式应该和下面相同:</para>
 		且最后一行命令的输出格式应该和下面相同:</para>
 
 
-<screen><computeroutput>[Requesting program interpreter: /tools/lib64/ld-linux.so.2]</computeroutput></screen>
+<screen><computeroutput>[Requesting program interpreter: /tools/lib64/ld-linux-x86-64.so.2]</computeroutput></screen>
 
 
     <!--para>Note that <filename class="directory">/tools/lib</filename> wiil
     <!--para>Note that <filename class="directory">/tools/lib</filename> wiil
     be the prefix of the dynamic linker for 32-bit machines.</para-->
     be the prefix of the dynamic linker for 32-bit machines.</para-->
-    <para>注意,在 32 位机器上,动态链接器的前缀为
-	    <filename class="directory">/tools/lib</filename>。</para>
+    <para>注意,在 32 位机器上,动态链接器为
+		<filename class="directory">/tools/lib/ld-linux-so.2</filename>。
+	</para>
 
 
     <!--para>If the output is not shown as above or there was no output at all,
     <!--para>If the output is not shown as above or there was 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