Changeset 12632200


Ignore:
Timestamp:
05/14/2024 04:19:24 AM (4 weeks ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/loongarch
Children:
560c147
Parents:
a8debbb4
Message:

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

This reverts commit 4ac095c78bc643e43e63822ac5162dbd99134791.

The change is included in GCC >= 14.1.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • chapter05/gcc-pass1.xml

    ra8debbb4 r12632200  
    4343  <sect2 role="installation">
    4444    <title>Installation of Cross GCC</title>
    45 
    46     <!-- https://gcc.gnu.org/r14-4674 -->
    47     <para>At first, fix an issue producing illegal instructions in linked
    48     executables and shared libraries with GCC &gcc-version; and
    49     Binutils-2.42:</para>
    50 
    51     <screen><userinput remap='pre'>sed -e '/ASM_OUTPUT_ALIGN_WITH_NOP/,+1d' \
    52     -i gcc/config/loongarch/loongarch.h</userinput></screen>
    5345
    5446    <para>GCC requires the GMP, MPFR and MPC packages. As these packages may
  • chapter06/gcc-pass2.xml

    ra8debbb4 r12632200  
    4848    <screen><userinput remap="pre">patch -Np1 -i ../&gcc-upstream-fixes-patch;</userinput></screen>
    4949-->
    50 
    51     <!-- https://gcc.gnu.org/r14-4674 -->
    52     <para>Again, fix an issue producing illegal instructions in linked
    53     executables and shared libraries with GCC &gcc-version; and
    54     Binutils-2.42:</para>
    55 
    56     <screen><userinput remap='pre'>sed -e '/ASM_OUTPUT_ALIGN_WITH_NOP/,+1d' \
    57     -i gcc/config/loongarch/loongarch.h</userinput></screen>
    58 
    5950    <para>As in the first build of GCC, the GMP, MPFR, and MPC packages are
    6051    required. Unpack the tarballs and move them into the required directories:</para>
  • chapter08/gcc.xml

    ra8debbb4 r12632200  
    4141  <sect2 role="installation">
    4242    <title>Installation of GCC</title>
    43 
    44     <!-- https://gcc.gnu.org/r14-4674 -->
    45     <para>Again, fix an issue producing illegal instructions in linked
    46     executables and shared libraries with GCC &gcc-version; and
    47     Binutils-2.42:</para>
    48 
    49     <screen><userinput remap='pre'>sed -e '/ASM_OUTPUT_ALIGN_WITH_NOP/,+1d' \
    50     -i gcc/config/loongarch/loongarch.h</userinput></screen>
    5143
    5244    <para>Set the default directory name for
Note: See TracChangeset for help on using the changeset viewer.