]> git.baikalelectronics.ru Git - kernel.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)
commit583ca520d4e680ddca2085ab9140c1cc29da6f2e
tree23bb4f614d244de5640420e6c26b6aa02f1da55b
parent8d6f57f8610d74669a9b632c96b061fa72f2a84f
RISC-V: Stop emitting attributes

commit 9319f4d0158e0ef6223e2cbc0e20b47e390d9512 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