Revert "loongarch: kernel: Disable relaxation for building a module"

This reverts commit c4b61b12df.

These lines has been already added into the kernel since 6.6.
This commit is contained in:
Xi Ruoyao 2023-12-06 18:30:00 +08:00
parent db880b9629
commit 9ef0338a7b
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3

View File

@ -294,14 +294,6 @@
configuration menus and create the kernel configuration from
scratch.</para>
<para>Fix an issue causing all kernel modules built with Binutils-2.41
or later not loadable:</para>
<screen><userinput remap="pre">cat &gt;&gt; arch/loongarch/Makefile &lt;&lt; EOF
<literal>KBUILD_AFLAGS_MODULE += -Wa,-mno-relax
KBUILD_CFLAGS_MODULE += -Wa,-mno-relax</literal>
EOF</userinput></screen>
<para>Compile the kernel image and modules:</para>
<screen><userinput remap="make">make</userinput></screen>