diff options
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 6 | ||||
-rw-r--r-- | bfd/elfnn-ia64.c | 8 |
2 files changed, 10 insertions, 4 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index b41c9cd..58aa6e7 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,11 @@ 2011-06-09 Tristan Gingold <gingold@adacore.com> + * elfnn-ia64.c (elfNN_ia64_relax_section, elfNN_ia64_choose_gp) + (elfNN_ia64_relocate_section, elfNN_vms_object_p): Remove trailing + spaces. + +2011-06-09 Tristan Gingold <gingold@adacore.com> + * bfd.c (bfd_get_sign_extend_vma): Handle aixcoff. 2011-06-09 Nick Clifton <nickc@redhat.com> diff --git a/bfd/elfnn-ia64.c b/bfd/elfnn-ia64.c index 1bd59a7..9f84680 100644 --- a/bfd/elfnn-ia64.c +++ b/bfd/elfnn-ia64.c @@ -586,7 +586,7 @@ elfNN_ia64_relax_section (bfd *abfd, asection *sec, offset = -0x1000000; /* If the branch is in range, no need to do anything. */ - if ((bfd_signed_vma) (symaddr - reladdr) >= offset + if ((bfd_signed_vma) (symaddr - reladdr) >= offset && (bfd_signed_vma) (symaddr - reladdr) <= 0x0FFFFF0) { /* If the 60-bit branch is in 21-bit range, optimize it. */ @@ -3609,7 +3609,7 @@ elfNN_ia64_choose_gp (bfd *abfd, struct bfd_link_info *info, bfd_boolean final) if (ia64_info->min_short_sec) { - if (min_short_vma + if (min_short_vma > (ia64_info->min_short_sec->vma + ia64_info->min_short_offset)) min_short_vma = (ia64_info->min_short_sec->vma @@ -3868,7 +3868,7 @@ elfNN_ia64_relocate_section (bfd *output_bfd, && (sym_sec->flags & SEC_MERGE) != 0 && ELF_ST_TYPE (sym->st_info) == STT_SECTION && sym_sec->sec_info_type == ELF_INFO_TYPE_MERGE) - { + { struct elfNN_ia64_local_hash_entry *loc_h; loc_h = get_local_sym_hash (ia64_info, input_bfd, rel, FALSE); @@ -5094,7 +5094,7 @@ elfNN_vms_object_p (bfd *abfd) nsec->vma = base_vma; nsec->size = next_vma - base_vma; nsec->filepos = i_phdr->p_offset + (base_vma - i_phdr->p_vaddr); - + base_vma = next_vma; } } |