From c219b8b97881925ce895ad9a283a9deb6a447f83 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Mon, 8 Apr 2024 16:31:42 +0800 Subject: [PATCH] loongarch: Revert "kernel: Apply an upstream fix for Binutils 2.42" This reverts commit 2a71a83b9a130bdd8ae1b52eb41c1ea92df9e0d1. The fix is included in linux >= 6.8. --- chapter10/kernel.xml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/chapter10/kernel.xml b/chapter10/kernel.xml index 509c38c9e..c2189f72e 100644 --- a/chapter10/kernel.xml +++ b/chapter10/kernel.xml @@ -294,13 +294,6 @@ configuration menus and create the kernel configuration from scratch. - - Now fix an issue causing the kernel fail to build with Binutils - 2.42 on LoongArch: - -sed -e '/case EM_LOONG/aif (r_type == 100 || r_type == 102) continue;' \ - -i scripts/mod/modpost.c - Compile the kernel image and modules: make