Changeset c4b61b1


Ignore:
Timestamp:
08/10/2023 05:49:10 AM (10 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1
Children:
11876e8
Parents:
2485dc3
git-author:
Xi Ruoyao <xry111@…> (08/10/2023 03:45:11 AM)
git-committer:
Xi Ruoyao <xry111@…> (08/10/2023 05:49:10 AM)
Message:

loongarch: kernel: Disable relaxation for building a module

Link: https://git.kernel.org/torvalds/c/03c53eb90c0c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter10/kernel.xml

    r2485dc3 rc4b61b1  
    292292    scratch.</para>
    293293
     294    <para>Fix an issue causing all kernel modules built with Binutils-2.41
     295    or later not loadable:</para>
     296
     297<screen><userinput remap="pre">cat &gt;&gt; arch/loongarch/Makefile &lt;&lt; EOF
     298<literal>KBUILD_AFLAGS_MODULE += -Wa,-mno-relax
     299KBUILD_CFLAGS_MODULE += -Wa,-mno-relax</literal>
     300EOF</userinput></screen>
     301
    294302    <para>Compile the kernel image and modules:</para>
    295303
Note: See TracChangeset for help on using the changeset viewer.