Always consider infcall breakpoints as non-permanent.
[deliverable/binutils-gdb.git] / bfd / elf32-rl78.c
index 9124e0a2c51ed1d789a148b85afeec237fbf49c2..2a5ec99bedd09ecce862d534f19df4c59a8cfa61 100644 (file)
@@ -2199,7 +2199,7 @@ rl78_elf_relax_section
         61 F3 EF ad    SKNH ; BR $rel8
        */
 
-      if (irel->r_addend & RL78_RELAXA_BRA)
+      if ((irel->r_addend & RL78_RELAXA_MASK) == RL78_RELAXA_BRA)
        {
          /* SKIP opcodes that skip non-branches will have a relax tag
             but no corresponding symbol to relax against; we just
@@ -2334,7 +2334,7 @@ rl78_elf_relax_section
 
        }
 
-      if (irel->r_addend & RL78_RELAXA_ADDR16)
+      if ((irel->r_addend &  RL78_RELAXA_MASK) == RL78_RELAXA_ADDR16)
        {
          /*----------------------------------------------------------------------*/
          /* Some insns have both a 16-bit address operand and an 8-bit
This page took 0.023837 seconds and 4 git commands to generate.