Blame SOURCES/ignore-section-pi.patch
|
|
ebce91 |
From 3285953f7633113d399d9ccd93a134670f02d8d4 Mon Sep 17 00:00:00 2001
|
|
|
ebce91 |
From: Song Liu <song@kernel.org>
|
|
|
ebce91 |
Date: Wed, 26 May 2021 10:27:35 -0700
|
|
|
ebce91 |
Subject: [PATCH] create-diff-object: ignore section _pi.*
|
|
|
ebce91 |
|
|
|
ebce91 |
Signed-off-by: Song Liu <song@kernel.org>
|
|
|
ebce91 |
---
|
|
|
ebce91 |
kpatch-build/create-diff-object.c | 3 ++-
|
|
|
ebce91 |
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
ebce91 |
|
|
|
ebce91 |
diff --git a/kpatch-build/create-diff-object.c b/kpatch-build/create-diff-object.c
|
|
|
ebce91 |
index 2222fea..d403800 100644
|
|
|
ebce91 |
--- a/kpatch-build/create-diff-object.c
|
|
|
ebce91 |
+++ b/kpatch-build/create-diff-object.c
|
|
|
ebce91 |
@@ -2592,7 +2592,8 @@ static void kpatch_mark_ignored_sections(struct kpatch_elf *kelf)
|
|
|
ebce91 |
list_for_each_entry(sec, &kelf->sections, list) {
|
|
|
ebce91 |
if (!strncmp(sec->name, ".discard", 8) ||
|
|
|
ebce91 |
!strncmp(sec->name, ".rela.discard", 13) ||
|
|
|
ebce91 |
- !strncmp(sec->name, ".printk_index", 13))
|
|
|
ebce91 |
+ !strncmp(sec->name, ".printk_index", 13) ||
|
|
|
ebce91 |
+ !strncmp(sec->name, "_pi.", 4))
|
|
|
ebce91 |
sec->ignore = 1;
|
|
|
ebce91 |
}
|
|
|
ebce91 |
|
|
|
ebce91 |
--
|
|
|
ebce91 |
2.30.2
|
|
|
ebce91 |
|