diff --git a/chapter05/gcc-pass1.xml b/chapter05/gcc-pass1.xml index 2683b68e8..81d9bf510 100644 --- a/chapter05/gcc-pass1.xml +++ b/chapter05/gcc-pass1.xml @@ -72,11 +72,15 @@ mv -v mpc-&mpc-version; mpc This example demonstrates the use of the -i.orig switch. It makes the - sed copy the t-linux64 file - to t-linux64.orig, and then edit the original - t-linux64 file inplace. So you may run - diff -u gcc/config/i386/t-linux64{.orig,} - to visualize the change done by the sed command + sed copy the t-linux and + linux.h files + to t-linux.orig and + linux.h.orig, and then edit the original + t-linux64 and linux.h + files inplace. So you may run + diff -u gcc/config/loongarch/t-linux{.orig,} + to visualize the change to t-linux done by the + sed command afterwards. We'll simply use -i (which just edits the original file inplace without copying it) for all other packages in the book, but you can change it to