about summary refs log tree commit diff
path: root/sysdeps/x86_64
diff options
context:
space:
mode:
authorMarek Polacek <mpolacek@redhat.com>2011-12-23 13:59:40 -0500
committerUlrich Drepper <drepper@gmail.com>2011-12-23 13:59:40 -0500
commit530a32499a1671ea243c4d05e9c82ad31a29c7e6 (patch)
treea8f342081ae8d34a3c40038cb4e89dc479a30cdf /sysdeps/x86_64
parent67371b5666310a0012ec39b6c9bc41fe0c1b0bc4 (diff)
downloadglibc-530a32499a1671ea243c4d05e9c82ad31a29c7e6.tar.gz
glibc-530a32499a1671ea243c4d05e9c82ad31a29c7e6.tar.xz
glibc-530a32499a1671ea243c4d05e9c82ad31a29c7e6.zip
Fix typos in comments
Diffstat (limited to 'sysdeps/x86_64')
-rw-r--r--sysdeps/x86_64/dl-machine.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/x86_64/dl-machine.h b/sysdeps/x86_64/dl-machine.h
index 1068af6bb9..a8fbc1625b 100644
--- a/sysdeps/x86_64/dl-machine.h
+++ b/sysdeps/x86_64/dl-machine.h
@@ -98,7 +98,7 @@ elf_machine_runtime_setup (struct link_map *l, int lazy, int profile)
       /* The GOT entries for functions in the PLT have not yet been filled
 	 in.  Their initial contents will arrange when called to push an
 	 offset into the .rel.plt section, push _GLOBAL_OFFSET_TABLE_[1],
-	 and then jump to _GLOBAL_OFFSET_TABLE[2].  */
+	 and then jump to _GLOBAL_OFFSET_TABLE_[2].  */
       got = (Elf64_Addr *) D_PTR (l, l_info[DT_PLTGOT]);
       /* If a library is prelinked but we have to relocate anyway,
 	 we have to be able to undo the prelinking of .got.plt.
@@ -214,7 +214,7 @@ _dl_start_user:\n\
 /* The x86-64 never uses Elf64_Rel relocations.  */
 #define ELF_MACHINE_NO_REL 1
 
-/* We define an initialization functions.  This is called very early in
+/* We define an initialization function.  This is called very early in
    _dl_sysdep_start.  */
 #define DL_PLATFORM_INIT dl_platform_init ()
 
@@ -234,8 +234,8 @@ elf_machine_fixup_plt (struct link_map *map, lookup_t t,
   return *reloc_addr = value;
 }
 
-/* Return the final value of a plt relocation.  On x86-64 the
-   JUMP_SLOT relocation ignores the addend. */
+/* Return the final value of a PLT relocation.  On x86-64 the
+   JUMP_SLOT relocation ignores the addend.  */
 static inline Elf64_Addr
 elf_machine_plt_value (struct link_map *map, const Elf64_Rela *reloc,
 		       Elf64_Addr value)