From c78e255f56449354c9cbb83e6cfea28ed9fb25f9 Mon Sep 17 00:00:00 2001 From: lean Date: Sat, 12 Mar 2022 01:41:16 +0800 Subject: [PATCH] kernel: fix 5.15.28 patch error --- .../generic/hack-5.15/220-arm-gc_sections.patch | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/target/linux/generic/hack-5.15/220-arm-gc_sections.patch b/target/linux/generic/hack-5.15/220-arm-gc_sections.patch index 926fae530..081f948f6 100644 --- a/target/linux/generic/hack-5.15/220-arm-gc_sections.patch +++ b/target/linux/generic/hack-5.15/220-arm-gc_sections.patch @@ -103,28 +103,24 @@ Signed-off-by: Gabor Juhos __stop_unwind_tab = .; \ } -@@ -112,14 +112,14 @@ - #define ARM_VECTORS \ +@@ -126,13 +126,13 @@ __vectors_lma = .; \ OVERLAY 0xffff0000 : NOCROSSREFS AT(__vectors_lma) { \ .vectors { \ - *(.vectors) \ -+ KEEP(*(.vectors)) \ ++ KEEP(*(.vectors)) \ } \ .vectors.bhb.loop8 { \ - *(.vectors.bhb.loop8) \ -+ KEEP(*(.vectors.bhb.loop8)) \ ++ KEEP(*(.vectors.bhb.loop8)) \ } \ .vectors.bhb.bpiall { \ - *(.vectors.bhb.bpiall) \ -+ KEEP(*(.vectors.bhb.bpiall)) \ ++ KEEP(*(.vectors.bhb.bpiall)) \ } \ + } \ ARM_LMA(__vectors, .vectors); \ - ARM_LMA(__vectors_bhb_loop8, .vectors.bhb.loop8); \ - ARM_LMA(__vectors_bhb_bpiall, .vectors.bhb.bpiall); \ - . = __vectors_lma + SIZEOF(.vectors) + \ - SIZEOF(.vectors.bhb.loop8) + \ - SIZEOF(.vectors.bhb.bpiall); \ +@@ -144,7 +144,7 @@ \ __stubs_lma = .; \ .stubs ADDR(.vectors) + 0x1000 : AT(__stubs_lma) { \ @@ -133,4 +129,3 @@ Signed-off-by: Gabor Juhos } \ ARM_LMA(__stubs, .stubs); \ . = __stubs_lma + SIZEOF(.stubs); \ - \