mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-30 13:33:53 +08:00
2005-05-17 H.J. Lu <hongjiu.lu@intel.com>
* elfxx-ia64.c (elfNN_ia64_relax_br): Keep the original predicate on slot 0 only if slot 0 isn't br.
This commit is contained in:
parent
75ff45898c
commit
5e27d42770
@ -1,3 +1,8 @@
|
|||||||
|
2005-05-17 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
* elfxx-ia64.c (elfNN_ia64_relax_br): Keep the original
|
||||||
|
predicate on slot 0 only if slot 0 isn't br.
|
||||||
|
|
||||||
2005-05-17 H.J. Lu <hongjiu.lu@intel.com>
|
2005-05-17 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
PR 797
|
PR 797
|
||||||
|
@ -795,9 +795,12 @@ elfNN_ia64_relax_br (bfd_byte *contents, bfd_vma off)
|
|||||||
|
|
||||||
if (template == 0x16)
|
if (template == 0x16)
|
||||||
{
|
{
|
||||||
/* For BBB, we need to put nop.m in slot 0 and keep the original
|
/* For BBB, we need to put nop.m in slot 0. We keep the original
|
||||||
predicate. */
|
predicate only if slot 0 isn't br. */
|
||||||
t0 &= PREDICATE_BITS << 5;
|
if (br_slot == 0)
|
||||||
|
t0 = 0LL;
|
||||||
|
else
|
||||||
|
t0 &= PREDICATE_BITS << 5;
|
||||||
t0 |= 0x1LL << (X4_SHIFT + 5);
|
t0 |= 0x1LL << (X4_SHIFT + 5);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user