Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 02c200fd authored by Nick Desaulniers's avatar Nick Desaulniers Committed by Greg Kroah-Hartman
Browse files

ARM: 8933/1: replace Sun/Solaris style flag on section directive

commit 790756c7e0229dedc83bf058ac69633045b1000e upstream

It looks like a section directive was using "Solaris style" to declare
the section flags. Replace this with the GNU style so that Clang's
integrated assembler can assemble this directive.

The modified instances were identified via:
$ ag \.section | grep #

Link: https://ftp.gnu.org/old-gnu/Manuals/gas-2.9.1/html_chapter/as_7.html#SEC119
Link: https://github.com/ClangBuiltLinux/linux/issues/744
Link: https://bugs.llvm.org/show_bug.cgi?id=43759
Link: https://reviews.llvm.org/D69296



Acked-by: default avatarNicolas Pitre <nico@fluxnic.net>
Reviewed-by: default avatarArd Biesheuvel <ardb@kernel.org>
Reviewed-by: default avatarStefan Agner <stefan@agner.ch>
Signed-off-by: default avatarNick Desaulniers <ndesaulniers@google.com>
Suggested-by: default avatarFangrui Song <maskray@google.com>
Suggested-by: default avatarJian Cai <jiancai@google.com>
Suggested-by: default avatarPeter Smith <peter.smith@linaro.org>
Signed-off-by: default avatarRussell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 54e6ecd5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@
 *  size immediately following the kernel, we could build this into
 *  a binary blob, and concatenate the zImage using the cat command.
 */
		.section .start,#alloc,#execinstr
		.section .start, "ax"
		.type	_start, #function
		.globl	_start

+1 −1
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@
 *  Author: Nicolas Pitre
 */

	.section ".start", #alloc, #execinstr
	.section ".start", "ax"

	mrc	p15, 0, r0, c1, c0, 0	@ read control reg
	orr	r0, r0, #(1 << 7)	@ enable big endian mode
+1 −1
Original line number Diff line number Diff line
@@ -140,7 +140,7 @@
#endif
		.endm

		.section ".start", #alloc, #execinstr
		.section ".start", "ax"
/*
 * sort out different calling conventions
 */
+1 −1
Original line number Diff line number Diff line
/* SPDX-License-Identifier: GPL-2.0 */
	.section .piggydata,#alloc
	.section .piggydata, "a"
	.globl	input_data
input_data:
	.incbin	"arch/arm/boot/compressed/piggy_data"
+1 −1
Original line number Diff line number Diff line
@@ -491,7 +491,7 @@ cpu_arm1020_name:

	.align

	.section ".proc.info.init", #alloc
	.section ".proc.info.init", "a"

	.type	__arm1020_proc_info,#object
__arm1020_proc_info:
Loading