diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2007-08-22 13:44:37 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2007-08-22 13:44:37 +0000 |
commit | 9a2e389ab0c57e05fcac94b3836107af2f3b1a78 (patch) | |
tree | 79c5b631831f2862c3d8b67230c6ae78dc64a79e | |
parent | a6badf5a97374debb5be7b7e6e624f409e14e00d (diff) | |
download | gdb-9a2e389ab0c57e05fcac94b3836107af2f3b1a78.zip gdb-9a2e389ab0c57e05fcac94b3836107af2f3b1a78.tar.gz gdb-9a2e389ab0c57e05fcac94b3836107af2f3b1a78.tar.bz2 |
2007-08-22 H.J. Lu <hongjiu.lu@intel.com>
* elf64-x86-64.c: Remove trailing whitespace.
* elfxx-ia64.c: Likewise.
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf64-x86-64.c | 6 | ||||
-rw-r--r-- | bfd/elfxx-ia64.c | 6 |
3 files changed, 11 insertions, 6 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 621ee6d..40ad218 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2007-08-22 H.J. Lu <hongjiu.lu@intel.com> + + * elf64-x86-64.c: Remove trailing whitespace. + * elfxx-ia64.c: Likewise. + 2007-08-21 H.J. Lu <hongjiu.lu@intel.com> * elf32-i386.c (elf_i386_tls_transition): Accept a pointer diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c index 4a56d71..d73b270 100644 --- a/bfd/elf64-x86-64.c +++ b/bfd/elf64-x86-64.c @@ -3603,7 +3603,7 @@ elf64_x86_64_merge_symbol (struct bfd_link_info *info ATTRIBUTE_UNUSED, } else if (sym->st_shndx == SHN_X86_64_LCOMMON && (elf_section_flags (*oldsec) & SHF_X86_64_LARGE) == 0) - *psec = *sec = bfd_com_section_ptr; + *psec = *sec = bfd_com_section_ptr; } return TRUE; @@ -3614,7 +3614,7 @@ elf64_x86_64_additional_program_headers (bfd *abfd, struct bfd_link_info *info ATTRIBUTE_UNUSED) { asection *s; - int count = 0; + int count = 0; /* Check to see if we need a large readonly segment. */ s = bfd_get_section_by_name (abfd, ".lrodata"); @@ -3644,7 +3644,7 @@ elf64_x86_64_hash_symbol (struct elf_link_hash_entry *h) return _bfd_elf_hash_symbol (h); } -static const struct bfd_elf_special_section +static const struct bfd_elf_special_section elf64_x86_64_special_sections[]= { { STRING_COMMA_LEN (".gnu.linkonce.lb"), -2, SHT_NOBITS, SHF_ALLOC + SHF_WRITE + SHF_X86_64_LARGE}, diff --git a/bfd/elfxx-ia64.c b/bfd/elfxx-ia64.c index c25294c..eb9a620 100644 --- a/bfd/elfxx-ia64.c +++ b/bfd/elfxx-ia64.c @@ -804,7 +804,7 @@ elfNN_ia64_relax_br (bfd_byte *contents, bfd_vma off) /* It should never happen. */ abort (); } - + /* We can turn br.cond/br.call into brl.cond/brl.call. */ if (!(IS_BR_COND (br_code) || IS_BR_CALL (br_code))) return FALSE; @@ -2515,7 +2515,7 @@ has_space: memset (dyn_i, 0, sizeof (*dyn_i)); dyn_i->got_offset = (bfd_vma) -1; dyn_i->addend = addend; - + /* We increment count only since the new ones are unsorted and may have duplicate. */ (*count_p)++; @@ -2968,7 +2968,7 @@ elfNN_ia64_check_relocs (abfd, info, sec, relocs) } /* Now, we only do lookup without insertion, which is very fast - with the modified get_dyn_sym_info. */ + with the modified get_dyn_sym_info. */ for (rel = relocs; rel < relend; ++rel) { struct elfNN_ia64_dyn_sym_info *dyn_i; |