aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2010-02-05 14:58:11 +0000
committerH.J. Lu <hjl.tools@gmail.com>2010-02-05 14:58:11 +0000
commit6bbec505786239d3ebad084b673d19cc98a6c644 (patch)
tree7c56f160c155d49ec0b1df57cc8608c091b7bfe1
parentef3f88bef82381fcc0179efc94f032dbac568d50 (diff)
downloadgdb-6bbec505786239d3ebad084b673d19cc98a6c644.zip
gdb-6bbec505786239d3ebad084b673d19cc98a6c644.tar.gz
gdb-6bbec505786239d3ebad084b673d19cc98a6c644.tar.bz2
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.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf32-i386.c12
-rw-r--r--bfd/elf64-x86-64.c8
3 files changed, 15 insertions, 10 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 2b004d2..1b94ca7 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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>
* 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 7e1baac..e2cdbf7 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 373cab8..9459b9c 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.