bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/29940] fails to correctly assemble the JAL instruction on riscv


From: cvs-commit at gcc dot gnu.org
Subject: [Bug gas/29940] fails to correctly assemble the JAL instruction on riscv64
Date: Wed, 11 Jan 2023 09:31:57 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=29940

--- Comment #6 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Jan Beulich <jbeulich@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f56532cc17868e2c7e765bfd78322157048ff6ec

commit f56532cc17868e2c7e765bfd78322157048ff6ec
Author: Jan Beulich <jbeulich@suse.com>
Date:   Wed Jan 11 10:31:43 2023 +0100

    gas/RISC-V: adjust assembler for opcode table re-ordering

    PR gas/29940

    With the single-operand JAL entry now sitting ahead of the two-operand
    one, the parsing of a two-operand insn would first try to parse an 'a'-
    style operand, resulting in the insertion of bogus (and otherwise
    unused) undefined symbols in the symbol table, having register names.
    Since 'a' is used as 1st operand only with J and JAL, and since JAL is
    the only insn _also_ allowing for a register as 1st operand (and then
    there being a 2nd one), special case this parsing aspect right there.

    Reviewed-by: Palmer Dabbelt <palmer@rivosinc.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]