This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH 2/4] gas/arc: Fix array overrun when checking opcode array
- From: Claudiu Zissulescu <claziss at gmail dot com>
- To: Andrew Burgess <andrew dot burgess at embecosm dot com>, binutils at sourceware dot org
- Cc: Claudiu dot Zissulescu at synopsys dot com, Cupertino dot Miranda at synopsys dot com
- Date: Thu, 12 May 2016 14:24:41 +0200
- Subject: Re: [PATCH 2/4] gas/arc: Fix array overrun when checking opcode array
- Authentication-results: sourceware.org; auth=none
- References: <1462994486-12419-1-git-send-email-andrew dot burgess at embecosm dot com> <1462994486-12419-3-git-send-email-andrew dot burgess at embecosm dot com>
On 11/05/16 21:21, Andrew Burgess wrote:
gas/ChangeLog:
* config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
cached opcode to NULL when we reach a non-matching opcode.
* gas/testsuite/gas/arc/asm-errors-2.d: New file.
* gas/testsuite/gas/arc/asm-errors-2.err: New file.
* gas/testsuite/gas/arc/asm-errors-2.s: New file.
This seems also OK,
Claudiu