This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi,This patch fixes a bug in the aarch64 gas. Gas checks whether an opcode entry is allowed given the current available features on the target. Unfortunately the check is done too early in the opcode matching and causes the assembler to exit the mnemonics matching too early with incorrect diagnostics when certain features are not available on one target. This patch fixes the problem by moving the checking to a later stage.
OK for the trunk and the 2.24 branch? Thanks, Yufeng gas/ * config/tc-aarch64.c (md_assemble): Defer the feature checking until do_encode () succeeds. gas/testsuite/ * gas/aarch64/rm-simd-ext.d: New file. * gas/aarch64/rm-simd-ext.l: Likewise. * gas/aarch64/rm-simd-ext.s: Likewise.
Attachment:
patch
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |