--- binutils-2.23.52.20130727-orig/bfd/elfnn-ia64.c 2013-08-12 12:57:54.945250000 +0200 +++ binutils-2.23.52.20130727-orig/bfd/elfnn-ia64.c 2013-08-20 17:59:22.565888468 +0200 @@ -586,34 +586,37 @@ elfNN_ia64_relax_section (bfd *abfd, ase ia64_elf_relax_brl (contents, roff); irel->r_info = ELFNN_R_INFO (ELFNN_R_SYM (irel->r_info), R_IA64_PCREL21B); /* If the original relocation offset points to slot 1, change it to slot 2. */ if ((irel->r_offset & 3) == 1) irel->r_offset += 1; + + changed_relocs = TRUE; } continue; } else if (r_type == R_IA64_PCREL60B) continue; else if (ia64_elf_relax_br (contents, roff)) { irel->r_info = ELFNN_R_INFO (ELFNN_R_SYM (irel->r_info), R_IA64_PCREL60B); /* Make the relocation offset point to slot 1. */ irel->r_offset = (irel->r_offset & ~((bfd_vma) 0x3)) + 1; + changed_relocs = TRUE; continue; } /* We can't put a trampoline in a .init/.fini section. Issue an error. */ if (strcmp (sec->output_section->name, ".init") == 0 || strcmp (sec->output_section->name, ".fini") == 0) { (*_bfd_error_handler) (_("%B: Can't relax br at 0x%lx in section `%A'. Please use brl or indirect branch."),