Changeset 4ac095c7 for chapter08


Ignore:
Timestamp:
02/06/2024 09:28:15 PM (8 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/loongarch, xry111/loongarch-12.1, xry111/loongarch-12.2
Children:
ec36fac
Parents:
2a71a83
git-author:
Xi Ruoyao <xry111@…> (02/06/2024 09:26:00 PM)
git-committer:
Xi Ruoyao <xry111@…> (02/06/2024 09:28:15 PM)
Message:

loongarch: gcc: Apply an upstream change to prevent the linker from generating illegal instructions

I've proposed a backport of the change to GCC 13.3 but no response yet.
But even if the proposal is rejected I'd still have no choice but
backporting downstream. So just do it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/gcc.xml

    r2a71a83 r4ac095c7  
    5555    <screen><userinput remap="pre">patch -Np1 -i ../&gcc-upstream-fixes-patch;</userinput></screen>
    5656-->
     57
     58    <!-- https://gcc.gnu.org/r14-4674 -->
     59    <para>Again, fix an issue producing illegal instructions in linked
     60    executables and shared libraries with GCC &gcc-version; and
     61    Binutils-2.42:</para>
     62
     63    <screen><userinput remap='pre'>sed -e '/ASM_OUTPUT_ALIGN_WITH_NOP/,+1d' \
     64    -i gcc/config/loongarch/loongarch.h</userinput></screen>
     65
    5766    <para>Set the default directory name for
    5867    64-bit libraries to <quote>lib</quote>:</para>
Note: See TracChangeset for help on using the changeset viewer.