[PATCH v2] RISC-V: Update ABI to the elf_flags after parsing elf attributes.

Jim Wilson jimw@sifive.com
Fri Nov 6 22:39:34 GMT 2020


On Thu, Nov 5, 2020 at 4:40 AM Nelson Chu <nelson.chu@sifive.com> wrote:

> Originally, if the -mabi option isn't set, then assembler will set the
> abi according to the architecture string in the riscv_after_parse_args.
> But we should also check and reset the abi later since the architecture
> string may be reset by the elf attributes.  Therefore, set the abi to
>

Looks OK to me.

Jim


More information about the Binutils mailing list