acrn-kernel/arch/m68k/kernel
Ben Hutchings a41f2f6aff m68k: Fix invalid .section syntax
[ Upstream commit 922a9bd138 ]

gas supports several different forms for .section for ELF targets,
including:
    .section NAME [, "FLAGS"[, @TYPE[,FLAG_SPECIFIC_ARGUMENTS]]]
and:
    .section "NAME"[, #FLAGS...]

In several places we use a mix of these two forms:
    .section NAME, #FLAGS...

A current development snapshot of binutils (2.40.50.20230611) treats
this mixed syntax as an error.

Change to consistently use:
    .section NAME, "FLAGS"
as is used elsewhere in the kernel.

Link: https://buildd.debian.org/status/fetch.php?pkg=linux&arch=m68k&ver=6.4%7Erc6-1%7Eexp1&stamp=1686907300&raw=1
Signed-off-by: Ben Hutchings <benh@debian.org>
Tested-by: Jan-Benedict Glaw <jbglaw@lug-owl.de>
Link: https://lore.kernel.org/r/ZIyBaueWT9jnTwRC@decadent.org.uk
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-09-13 09:42:21 +02:00
..
syscalls
.gitignore
Makefile
asm-offsets.c
bootinfo_proc.c
dma.c
early_printk.c
entry.S
head.S
ints.c
irq.c
machine_kexec.c
module.c
pcibios.c
process.c
ptrace.c
relocate_kernel.S
setup.c
setup_mm.c
setup_no.c
signal.c
sun3-head.S
sys_m68k.c
syscalltable.S
time.c
traps.c
uboot.c
vectors.c
vmlinux-nommu.lds
vmlinux-std.lds
vmlinux-sun3.lds
vmlinux.lds.S