Sfoglia il codice sorgente

linux: fix nds32 compilation with newer binutils

Waldemar Brodkorb 2 settimane fa
parent
commit
3f945e92f8
1 ha cambiato i file con 12 aggiunte e 0 eliminazioni
  1. 12 0
      target/linux/patches/5.15.208/nds32-binutils.patch

+ 12 - 0
target/linux/patches/5.15.208/nds32-binutils.patch

@@ -0,0 +1,12 @@
+diff -Nur linux-5.15.208.orig/arch/nds32/kernel/ex-entry.S linux-5.15.208/arch/nds32/kernel/ex-entry.S
+--- linux-5.15.208.orig/arch/nds32/kernel/ex-entry.S	2026-05-23 13:40:45.000000000 +0200
++++ linux-5.15.208/arch/nds32/kernel/ex-entry.S	2026-05-27 07:23:32.556876633 +0200
+@@ -162,7 +162,7 @@
+ 	jral.ton $p0, $p0
+ 	.endm
+ 
+-	.section	".text.init", #alloc, #execinstr
++	.section	".text.init", "ax"
+ 	.global	exception_vector
+ exception_vector:
+ .rept 6