Re: [PATCH] RISC-V: Disable attribute generation by default

2023-02-24 Thread Palmer Dabbelt
On Fri, 24 Feb 2023 05:09:30 PST (-0800), gcc-patches@gcc.gnu.org wrote: It did help people to identify what extension used in the binary, so I would prefer keep that enable by default. IMO it actually hurts more than helps, as it's not really encoding what extensions are in the binary (or nec

Re: [PATCH] RISC-V: Disable attribute generation by default

2023-02-24 Thread Kito Cheng via Gcc-patches
It did help people to identify what extension used in the binary, so I would prefer keep that enable by default. and lld is begin fix those merge issue, so the situation should be improved soon. Palmer Dabbelt 於 2023年2月24日 週五 10:29 寫道: > We generate a handful of attributes by default, but they

[PATCH] RISC-V: Disable attribute generation by default

2023-02-23 Thread Palmer Dabbelt
We generate a handful of attributes by default, but they don't really encode any useful information. We've broadly stopped ascribing any meaning to them in binutils; but they trip up LLVM, older toolchains, and users. So let's just turn them off by default. The old binaries will still be floatin