Skip to contentSkip to conversation

xtensa: change '.bss' to '.section .bss'

PATCH New Max Filippov 1 participant 1 message Jun 20, 2022 Tensilica Xtensa port (xtensa)

lore
Share & tools
lore

Max Filippov

author maintainer
#0 lore raw

PATCH 1/1 xtensa: change '.bss' to '.section .bss'

For some reason (ancient assembler?) the following build error is reported by the kisskb:

kisskb/src/arch/xtensa/kernel/entry.S: Error: unknown pseudo-op: `.bss':
=> 2176

Change abbreviated '.bss' to the full '.section .bss, "aw"' to fix this error.

---
 arch/xtensa/kernel/entry.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/xtensa/kernel/entry.S +1 -1
index e3eae648ba2e..ab30bcb46290 100644
@@ -2173,7 +2173,7 @@ ENDPROC(ret_from_kernel_thread)
 
 #ifdef CONFIG_HIBERNATION
 
-	.bss
+	.section	.bss, "aw"
 	.align	4
 .Lsaved_regs:
 #if defined(__XTENSA_WINDOWED_ABI__)
Signature · 1 line
2.30.2