Remove trailing white spaces.

2010-02-05  H.J. Lu  <hongjiu.lu@intel.com>

	* elf32-i386.c: Remove trailing white spaces.
	* elf64-x86-64.c: Likewise.
This commit is contained in:
H.J. Lu
2010-02-05 14:58:11 +00:00
parent ef3f88bef8
commit 6bbec50578
3 changed files with 15 additions and 10 deletions

View File

@ -1,3 +1,8 @@
2010-02-05 H.J. Lu <hongjiu.lu@intel.com>
* elf32-i386.c: Remove trailing white spaces.
* elf64-x86-64.c: Likewise.
2010-02-03 Nick Clifton <nickc@redhat.com> 2010-02-03 Nick Clifton <nickc@redhat.com>
* elf-bfd.h (emum elf_object_id): Rename to elf_target_id. Add * elf-bfd.h (emum elf_object_id): Rename to elf_target_id. Add

View File

@ -1334,7 +1334,7 @@ elf_i386_check_relocs (bfd *abfd,
TRUE); TRUE);
if (h == NULL) if (h == NULL)
return FALSE; return FALSE;
/* Fake a STT_GNU_IFUNC symbol. */ /* Fake a STT_GNU_IFUNC symbol. */
h->type = STT_GNU_IFUNC; h->type = STT_GNU_IFUNC;
h->def_regular = 1; h->def_regular = 1;
@ -1383,7 +1383,7 @@ elf_i386_check_relocs (bfd *abfd,
/* It is referenced by a non-shared object. */ /* It is referenced by a non-shared object. */
h->ref_regular = 1; h->ref_regular = 1;
h->needs_plt = 1; h->needs_plt = 1;
/* STT_GNU_IFUNC symbol must go through PLT. */ /* STT_GNU_IFUNC symbol must go through PLT. */
h->plt.refcount += 1; h->plt.refcount += 1;
@ -2796,7 +2796,7 @@ elf_i386_relocate_section (bfd *output_bfd,
bfd_boolean is_vxworks_tls; bfd_boolean is_vxworks_tls;
BFD_ASSERT (is_i386_elf (input_bfd)); BFD_ASSERT (is_i386_elf (input_bfd));
htab = elf_i386_hash_table (info); htab = elf_i386_hash_table (info);
if (htab == NULL) if (htab == NULL)
return FALSE; 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 /* We can't use h->got.offset here to save state, or
even just remember the offset, as finish_dynamic_symbol even just remember the offset, as finish_dynamic_symbol
would use that as offset into .got. */ would use that as offset into .got. */
if (htab->elf.splt != NULL) if (htab->elf.splt != NULL)
{ {
plt_index = h->plt.offset / PLT_ENTRY_SIZE - 1; plt_index = h->plt.offset / PLT_ENTRY_SIZE - 1;
@ -3514,7 +3514,7 @@ elf_i386_relocate_section (bfd *output_bfd,
xchg %ax,%ax */ xchg %ax,%ax */
bfd_vma roff; bfd_vma roff;
roff = rel->r_offset; roff = rel->r_offset;
bfd_put_8 (output_bfd, 0x66, contents + roff); bfd_put_8 (output_bfd, 0x66, contents + roff);
bfd_put_8 (output_bfd, 0x90, contents + roff + 1); 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 Get the offset into the .got table of the entry that
corresponds to this function. Each .got entry is 4 bytes. corresponds to this function. Each .got entry is 4 bytes.
The first three are reserved. The first three are reserved.
For static executables, we don't reserve anything. */ For static executables, we don't reserve anything. */
if (plt == htab->elf.splt) if (plt == htab->elf.splt)

View File

@ -639,7 +639,7 @@ elf64_x86_64_link_hash_table_create (bfd *abfd)
ret->tls_ld_got.refcount = 0; ret->tls_ld_got.refcount = 0;
ret->sgotplt_jump_table_size = 0; ret->sgotplt_jump_table_size = 0;
ret->tls_module_base = NULL; ret->tls_module_base = NULL;
ret->loc_hash_table = htab_try_create (1024, ret->loc_hash_table = htab_try_create (1024,
elf64_x86_64_local_htab_hash, elf64_x86_64_local_htab_hash,
elf64_x86_64_local_htab_eq, elf64_x86_64_local_htab_eq,
@ -1116,7 +1116,7 @@ elf64_x86_64_check_relocs (bfd *abfd, struct bfd_link_info *info,
TRUE); TRUE);
if (h == NULL) if (h == NULL)
return FALSE; return FALSE;
/* Fake a STT_GNU_IFUNC symbol. */ /* Fake a STT_GNU_IFUNC symbol. */
h->type = STT_GNU_IFUNC; h->type = STT_GNU_IFUNC;
h->def_regular = 1; 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. */ /* It is referenced by a non-shared object. */
h->ref_regular = 1; h->ref_regular = 1;
h->needs_plt = 1; h->needs_plt = 1;
/* STT_GNU_IFUNC symbol must go through PLT. */ /* STT_GNU_IFUNC symbol must go through PLT. */
h->plt.refcount += 1; 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 corresponds to this symbol. This is the index of this symbol
in all the symbols for which we are making plt entries. The in all the symbols for which we are making plt entries. The
first entry in the procedure linkage table is reserved. first entry in the procedure linkage table is reserved.
Get the offset into the .got table of the entry that Get the offset into the .got table of the entry that
corresponds to this function. Each .got entry is GOT_ENTRY_SIZE corresponds to this function. Each .got entry is GOT_ENTRY_SIZE
bytes. The first three are reserved for the dynamic linker. bytes. The first three are reserved for the dynamic linker.