]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Wed, 18 Jun 2003 06:49:48 +0000 (06:49 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 18 Jun 2003 06:49:48 +0000 (06:49 +0000)
2003-06-17  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela)
<case R_PPC64_DTPREL64>: Don't segfault on undefined symbols.

ChangeLog
sysdeps/powerpc/powerpc64/dl-machine.h

index a118e6ed7c7d503569842dad56cfdc081f955b95..8b0f1a4515e3b8b0c2780543cd56a01d8c002bb2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-06-17  Jakub Jelinek  <jakub@redhat.com>
+
+       * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela)
+       <case R_PPC64_DTPREL64>: Don't segfault on undefined symbols.
+
 2003-06-17  Paul Mackerras  <paulus@samba.org>
 
        * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: New file.
index 1336e0d309769a78f5cda6b7dc045ec83ca8c26f..7f0353f68755490e7a4ebe6fc544b566fb9c523b 100644 (file)
@@ -653,7 +653,8 @@ elf_machine_rela (struct link_map *map,
       /* During relocation all TLS symbols are defined and used.
          Therefore the offset is already correct.  */
 # ifndef RTLD_BOOTSTRAP
-      *reloc_addr = TLS_DTPREL_VALUE (sym, reloc);
+      if (sym_map != NULL)
+       *reloc_addr = TLS_DTPREL_VALUE (sym, reloc);
 # endif
       return;