]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RISC-V: Stop emitting attributes
authorPalmer Dabbelt <palmer@rivosinc.com>
Thu, 23 Feb 2023 22:46:05 +0000 (14:46 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Mar 2023 07:50:14 +0000 (08:50 +0100)
commit1c39d126b51b31c14a0a33393ae49b20ca0c571c
tree23bb4f614d244de5640420e6c26b6aa02f1da55b
parent120f7a92871988bf0ced8d6c0b50b93a74f17639
RISC-V: Stop emitting attributes

commit e18048da9bc3f87acef4eb67a11b4fc55fe15424 upstream.

The RISC-V ELF attributes don't contain any useful information.  New
toolchains ignore them, but they frequently trip up various older/mixed
toolchains.  So just turn them off.

Tested-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20230223224605.6995-1-palmer@rivosinc.com
Cc: stable@vger.kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/riscv/Makefile
arch/riscv/kernel/compat_vdso/Makefile