RISC-V: Stop emitting attributes
authorPalmer Dabbelt <palmer@rivosinc.com>
Thu, 23 Feb 2023 22:46:05 +0000 (14:46 -0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Mon, 6 Mar 2023 23:55:25 +0000 (15:55 -0800)
commite18048da9bc3f87acef4eb67a11b4fc55fe15424
tree653cbfbf13c95b430174135cf35881dbf222c895
parentfe15c26ee26efa11741a7b632e9f23b01aca4cc6
RISC-V: Stop emitting attributes

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>
arch/riscv/Makefile
arch/riscv/kernel/compat_vdso/Makefile