mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-26 11:33:45 +08:00
PR binutils/13355
* elf32-rx.c (elf32_rx_relax_section): Correct width check.
This commit is contained in:
parent
ae70babc04
commit
eb8c5f3f23
@ -1,3 +1,8 @@
|
||||
2012-02-16 Alan Modra <amodra@gmail.com>
|
||||
|
||||
PR binutils/13355
|
||||
* elf32-rx.c (elf32_rx_relax_section): Correct width check.
|
||||
|
||||
2012-02-13 Richard Henderson <rth@redhat.com>
|
||||
|
||||
PR ld/13621
|
||||
|
@ -2115,7 +2115,7 @@ elf32_rx_relax_section (bfd * abfd,
|
||||
/* Decodable bits. */
|
||||
&& (insn[0] & 0xcc) == 0xcc
|
||||
/* Width. */
|
||||
&& (insn[0] & 0x30) != 3
|
||||
&& (insn[0] & 0x30) != 0x30
|
||||
/* Register MSBs. */
|
||||
&& (insn[1] & 0x88) == 0x00)
|
||||
{
|
||||
@ -2219,7 +2219,7 @@ elf32_rx_relax_section (bfd * abfd,
|
||||
/* Decodable bits. */
|
||||
&& (insn[0] & 0xc3) == 0xc3
|
||||
/* Width. */
|
||||
&& (insn[0] & 0x30) != 3
|
||||
&& (insn[0] & 0x30) != 0x30
|
||||
/* Register MSBs. */
|
||||
&& (insn[1] & 0x88) == 0x00)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user