diff options
author | Robert Marko <robimarko@gmail.com> | 2024-04-01 19:46:34 +0200 |
---|---|---|
committer | Robert Marko <robimarko@gmail.com> | 2024-04-23 22:41:11 +0200 |
commit | a8befdee43e2119b2697c584a83a008a26650ff6 (patch) | |
tree | 6ad6c99f3e36794094f5be684a77608ef8ac095a /target/linux/bcm53xx/patches-6.6 | |
parent | 5efd41c10b876bf25af3013e57f4bb5341dfe8b8 (diff) |
bcm53xx: 6.6: fix ASM cache workaround linking
Kernel 6.6 checks for orphan sections and prints a warning about them,
which in turn will make CI fails as we have Werror enabled there.
Issue is that cache-v7-min.S produces .init.text section which is an
orphan section since it is not being handled by the vmlinux.lds.S linker
script.
So, lets put the generated .init.text section under .text.
Fixes: f0d8ce4f482c ("bcm53xx: add testing support for kernel 6.6")
Signed-off-by: Robert Marko <robimarko@gmail.com>
Diffstat (limited to 'target/linux/bcm53xx/patches-6.6')
-rw-r--r-- | target/linux/bcm53xx/patches-6.6/300-ARM-BCM5301X-Disable-MMU-and-Dcache-during-decompres.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/bcm53xx/patches-6.6/300-ARM-BCM5301X-Disable-MMU-and-Dcache-during-decompres.patch b/target/linux/bcm53xx/patches-6.6/300-ARM-BCM5301X-Disable-MMU-and-Dcache-during-decompres.patch index 0247a66ccc..789326310a 100644 --- a/target/linux/bcm53xx/patches-6.6/300-ARM-BCM5301X-Disable-MMU-and-Dcache-during-decompres.patch +++ b/target/linux/bcm53xx/patches-6.6/300-ARM-BCM5301X-Disable-MMU-and-Dcache-during-decompres.patch @@ -99,3 +99,13 @@ Signed-off-by: Rafał Miłecki <rafal@milecki.pl> subs r9, r9, #1 @ decrement the index bge loop2 subs r4, r4, #1 @ decrement the way +--- a/arch/arm/boot/compressed/vmlinux.lds.S ++++ b/arch/arm/boot/compressed/vmlinux.lds.S +@@ -41,6 +41,7 @@ SECTIONS + *(.start) + *(.text) + *(.text.*) ++ *(.init.text) + ARM_STUBS_TEXT + } + .table : ALIGN(4) { |