bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/28977] tc-i386.c internal error in parse_register


From: cvs-commit at gcc dot gnu.org
Subject: [Bug gas/28977] tc-i386.c internal error in parse_register
Date: Wed, 23 Mar 2022 11:31:41 +0000

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

--- Comment #3 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=4faaa10f3fabb345aca006ed67a8be97dc924e9c

commit 4faaa10f3fabb345aca006ed67a8be97dc924e9c
Author: Jan Beulich <jbeulich@suse.com>
Date:   Wed Mar 23 12:28:53 2022 +0100

    x86: don't attempt to resolve equates and alike from i386_parse_name()

    PR gas/28977

    Perhaps right from its introduction in 4d1bb7955a8b it was wrong for
    i386_parse_name() to call parse_register(). This being a hook from the
    expression parser, it shouldn't be resolving e.g. equated symbols.
    That's relevant only for all other callers of parse_register().

    To compensate, in Intel syntax mode check_register() needs calling;
    perhaps not doing so was an oversight right when the function was
    introduced. This is necessary in particular to force EVEX encoding when
    VRex registers are used (but of course also to reject bad uses of
    registers, i.e. fully matching what parse_register() needs it for).

-- 
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]