2004-12-23 Tomer Levi <Tomer.Levi@nsc.com>

* elf32-crx.c (elf32_crx_relax_section): Support 'bcop' relaxation.
This commit is contained in:
Tomer Levi 2004-12-23 13:48:25 +00:00
parent c38f024c3d
commit 17a8343285
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2004-12-23 Tomer Levi <Tomer.Levi@nsc.com>
* elf32-crx.c (elf32_crx_relax_section): Support 'bcop' relaxation.
2004-12-21 Kris Warkentin <kewarken@qnx.com>
* elf.c (elfcore_grok_nto_gregs): Change name to elfcore_grok_nto_regs.

View File

@ -1183,7 +1183,9 @@ elf32_crx_relax_section (bfd *abfd, asection *sec,
/* Verify it's a 'cmp&branch' opcode. */
if ((code & 0xfff0) != 0x3180 && (code & 0xfff0) != 0x3190
&& (code & 0xfff0) != 0x31a0 && (code & 0xfff0) != 0x31c0
&& (code & 0xfff0) != 0x31d0 && (code & 0xfff0) != 0x31e0)
&& (code & 0xfff0) != 0x31d0 && (code & 0xfff0) != 0x31e0
/* Or a Co-processor branch ('bcop'). */
&& (code & 0xfff0) != 0x3010 && (code & 0xfff0) != 0x3110)
continue;
/* Note that we've changed the relocs, section contents, etc. */