arm: Avoid using solaris syntax for .section directive
Assembler from binutils 2.41 will rejects ([1], [2]) the following
syntax
.section "name", #alloc
for any other any target other than ELF SPARC. This means we can't use
it in the Arm code.
So switch to the GNU syntax
.section name [, "flags"[, @type]]
[1] https://sourceware.org/bugzilla/show_bug.cgi?id=11601
[2] https://sourceware.org/binutils/docs-2.41/as.html#Section
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Reviewed-by: Michal Orzel <michal.orzel@amd.com>
[jgrall: Reword commit message]
Acked-by: Julien Grall <jgrall@amazon.com>
master commit:
dfc490a3740bb7d6889939934afadcb58891fbce
master date: 2023-08-02 22:29:52 +0100