Skip to content

Commit

Permalink
xtensa: change '.bss' to '.section .bss'
Browse files Browse the repository at this point in the history
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.

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
  • Loading branch information
Max Filippov committed Jun 20, 2022
1 parent 173940b commit a2d9b75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/xtensa/kernel/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -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__)
Expand Down

0 comments on commit a2d9b75

Please sign in to comment.