aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2012-05-10 10:20:51 -0700
committerRoland McGrath <roland@hack.frob.com>2012-05-10 10:20:51 -0700
commitb5c086a2814b45e0b2ab678922fcc66c7351fece (patch)
treede0cbd91e510f281e6886c50cf0205739aec153a
parent6d74dd09d29f77ac2b22410f45687def349ba3da (diff)
downloadglibc-b5c086a2814b45e0b2ab678922fcc66c7351fece.zip
glibc-b5c086a2814b45e0b2ab678922fcc66c7351fece.tar.gz
glibc-b5c086a2814b45e0b2ab678922fcc66c7351fece.tar.bz2
Typo fix in x86_64/dl-machine.h
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/x86_64/dl-machine.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 559754e..2a2cbda 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-05-10 Roland McGrath <roland@hack.frob.com>
+
+ * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
+ change. Update copyright years.
+
2012-05-10 Joseph Myers <joseph@codesourcery.com>
* include/stdc-predef.h (__STDC_NO_THREADS__): Define.
diff --git a/sysdeps/x86_64/dl-machine.h b/sysdeps/x86_64/dl-machine.h
index cf49d42..934e0b0 100644
--- a/sysdeps/x86_64/dl-machine.h
+++ b/sysdeps/x86_64/dl-machine.h
@@ -1,5 +1,5 @@
/* Machine-dependent ELF dynamic relocation inline functions. x86-64 version.
- Copyright (C) 2001-2006, 2008-2010, 2011 Free Software Foundation, Inc.
+ Copyright (C) 2001-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Andreas Jaeger <aj@suse.de>.
@@ -336,7 +336,7 @@ elf_machine_rela (struct link_map *map, const ElfW(Rela) *reloc,
bits but the GOT entry is 64 bits wide and the whole
64-bit entry is used as a signed quantity, so we need
to sign-extend the computed value to 64 bits. */
- *(Elf64_Sxword *) reloc_addr = (Elf64_Sxword) (Elf32_Sxword) value;
+ *(Elf64_Sxword *) reloc_addr = (Elf64_Sxword) (Elf32_Sword) value;
# else
*reloc_addr = value;
# endif