From 5fcf0247efb65158182af27b7750b220ab3c03e4 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 5 Feb 2010 14:58:11 +0000 Subject: [PATCH] Remove trailing white spaces. 2010-02-05 H.J. Lu * elf32-i386.c: Remove trailing white spaces. * elf64-x86-64.c: Likewise. --- bfd/ChangeLog | 5 +++++ bfd/elf32-i386.c | 12 ++++++------ bfd/elf64-x86-64.c | 8 ++++---- 3 files changed, 15 insertions(+), 10 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 2b004d29d..1b94ca79c 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2010-02-05 H.J. Lu + + * elf32-i386.c: Remove trailing white spaces. + * elf64-x86-64.c: Likewise. + 2010-02-03 Nick Clifton * elf-bfd.h (emum elf_object_id): Rename to elf_target_id. Add diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c index 7e1baac7f..e2cdbf7c2 100644 --- a/bfd/elf32-i386.c +++ b/bfd/elf32-i386.c @@ -1334,7 +1334,7 @@ elf_i386_check_relocs (bfd *abfd, TRUE); if (h == NULL) return FALSE; - + /* Fake a STT_GNU_IFUNC symbol. */ h->type = STT_GNU_IFUNC; h->def_regular = 1; @@ -1383,7 +1383,7 @@ elf_i386_check_relocs (bfd *abfd, /* It is referenced by a non-shared object. */ h->ref_regular = 1; h->needs_plt = 1; - + /* STT_GNU_IFUNC symbol must go through PLT. */ h->plt.refcount += 1; @@ -2796,7 +2796,7 @@ elf_i386_relocate_section (bfd *output_bfd, bfd_boolean is_vxworks_tls; BFD_ASSERT (is_i386_elf (input_bfd)); - + htab = elf_i386_hash_table (info); if (htab == NULL) return FALSE; @@ -3082,7 +3082,7 @@ elf_i386_relocate_section (bfd *output_bfd, /* We can't use h->got.offset here to save state, or even just remember the offset, as finish_dynamic_symbol would use that as offset into .got. */ - + if (htab->elf.splt != NULL) { plt_index = h->plt.offset / PLT_ENTRY_SIZE - 1; @@ -3514,7 +3514,7 @@ elf_i386_relocate_section (bfd *output_bfd, xchg %ax,%ax */ bfd_vma roff; - + roff = rel->r_offset; bfd_put_8 (output_bfd, 0x66, contents + roff); bfd_put_8 (output_bfd, 0x90, contents + roff + 1); @@ -4130,7 +4130,7 @@ elf_i386_finish_dynamic_symbol (bfd *output_bfd, Get the offset into the .got table of the entry that corresponds to this function. Each .got entry is 4 bytes. The first three are reserved. - + For static executables, we don't reserve anything. */ if (plt == htab->elf.splt) diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c index 373cab82b..9459b9ca0 100644 --- a/bfd/elf64-x86-64.c +++ b/bfd/elf64-x86-64.c @@ -639,7 +639,7 @@ elf64_x86_64_link_hash_table_create (bfd *abfd) ret->tls_ld_got.refcount = 0; ret->sgotplt_jump_table_size = 0; ret->tls_module_base = NULL; - + ret->loc_hash_table = htab_try_create (1024, elf64_x86_64_local_htab_hash, elf64_x86_64_local_htab_eq, @@ -1116,7 +1116,7 @@ elf64_x86_64_check_relocs (bfd *abfd, struct bfd_link_info *info, TRUE); if (h == NULL) return FALSE; - + /* Fake a STT_GNU_IFUNC symbol. */ h->type = STT_GNU_IFUNC; h->def_regular = 1; @@ -1168,7 +1168,7 @@ elf64_x86_64_check_relocs (bfd *abfd, struct bfd_link_info *info, /* It is referenced by a non-shared object. */ h->ref_regular = 1; h->needs_plt = 1; - + /* STT_GNU_IFUNC symbol must go through PLT. */ h->plt.refcount += 1; @@ -3782,7 +3782,7 @@ elf64_x86_64_finish_dynamic_symbol (bfd *output_bfd, corresponds to this symbol. This is the index of this symbol in all the symbols for which we are making plt entries. The first entry in the procedure linkage table is reserved. - + Get the offset into the .got table of the entry that corresponds to this function. Each .got entry is GOT_ENTRY_SIZE bytes. The first three are reserved for the dynamic linker. -- 2.11.4.GIT