diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2014-05-11 15:02:47 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2014-05-11 15:02:47 +0000 |
commit | f6fe5000d71afe93a210ee5e0976fac1a114c03f (patch) | |
tree | 880bb35ad1d4c12fb02db8e957ecdf0189c5f9e9 /chapter05 | |
parent | 799daaa7e6630218c2537cdbf63400817ac1292f (diff) |
Update bootscripts for eudev.
Add gcc patch for upstream changes.</para>
Change explanation for using omit-frame-pointer in gcc-pass2.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10560 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05')
-rw-r--r-- | chapter05/gcc-pass2.xml | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/chapter05/gcc-pass2.xml b/chapter05/gcc-pass2.xml index ec9354e18..ce24a3867 100644 --- a/chapter05/gcc-pass2.xml +++ b/chapter05/gcc-pass2.xml @@ -58,11 +58,9 @@ <screen><userinput remap="pre">cat gcc/limitx.h gcc/glimits.h gcc/limity.h > \ `dirname $($LFS_TGT-gcc -print-libgcc-file-name)`/include-fixed/limits.h</userinput></screen> - <para>For x86 machines, a bootstrap build of GCC uses the - <option>-fomit-frame-pointer</option> compiler flag. Non-bootstrap builds - omit this flag by default, and the goal should be to produce a compiler - that is exactly the same as if it were bootstrapped. Apply the following - <command>sed</command> command to force the build to use the flag:</para> + <para>For x86 machines, the limited number of registers is a bottleneck + for the system. Free one up by not using a fram pointer that is not + needed:</para> <screen><userinput remap="pre">case `uname -m` in i?86) sed -i 's/^T_CFLAGS =$/& -fomit-frame-pointer/' gcc/Makefile.in ;; |