aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2011-06-09 15:35:30 +0000
committerTristan Gingold <gingold@adacore.com>2011-06-09 15:35:30 +0000
commitd17fe7b7f6c81dc4e992b4262478c5f282a29752 (patch)
treef52f8b1c654ceb611ffd6e674366c32f90cd56b5 /bfd
parentce6f492fff761960211dd64d9577be6085140d5f (diff)
downloadgdb-d17fe7b7f6c81dc4e992b4262478c5f282a29752.zip
gdb-d17fe7b7f6c81dc4e992b4262478c5f282a29752.tar.gz
gdb-d17fe7b7f6c81dc4e992b4262478c5f282a29752.tar.bz2
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.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog6
-rw-r--r--bfd/elfnn-ia64.c8
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;
}
}