summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2024-12-15 06:10:03 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2024-12-15 07:04:39 +0100
commit1f6b21a512a682d5b58c0a28495857de3ba9f1cf (patch)
treed8ce81de77b5c193744f81c02719c18672e41431 /target/linux
parentbf34f8e10bb677d06a1dcf2ba6211dc65db6bdbf (diff)
linux: fix assembly issue on kinetis k70 linux 2.6
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/patches/e7c8afc1dda7b7c18596d90ad6a17ae886650b72/replace-Sun-Solaris-style-flag-on-section.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/target/linux/patches/e7c8afc1dda7b7c18596d90ad6a17ae886650b72/replace-Sun-Solaris-style-flag-on-section.patch b/target/linux/patches/e7c8afc1dda7b7c18596d90ad6a17ae886650b72/replace-Sun-Solaris-style-flag-on-section.patch
new file mode 100644
index 000000000..60474e50a
--- /dev/null
+++ b/target/linux/patches/e7c8afc1dda7b7c18596d90ad6a17ae886650b72/replace-Sun-Solaris-style-flag-on-section.patch
@@ -0,0 +1,21 @@
+diff -Nur linux-e7c8afc1dda7b7c18596d90ad6a17ae886650b72.orig/arch/arm/mm/proc-v7m.S linux-e7c8afc1dda7b7c18596d90ad6a17ae886650b72/arch/arm/mm/proc-v7m.S
+--- linux-e7c8afc1dda7b7c18596d90ad6a17ae886650b72.orig/arch/arm/mm/proc-v7m.S 2024-12-14 11:24:59.000000000 +0100
++++ linux-e7c8afc1dda7b7c18596d90ad6a17ae886650b72/arch/arm/mm/proc-v7m.S 2024-12-14 11:55:19.258693647 +0100
+@@ -78,7 +78,7 @@
+ .ascii "ARMv7-M Processor"
+ .align
+
+- .section ".text.init", #alloc, #execinstr
++ .section ".text.init", "ax"
+
+ /*
+ * __v7m_setup
+@@ -191,7 +191,7 @@
+ .size cpu_elf_name, . - cpu_elf_name
+ .align
+
+- .section ".proc.info.init", #alloc, #execinstr
++ .section ".proc.info.init", "ax"
+
+ /*
+ * Match any ARMv7-M processor core.