diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-06-18 06:49:48 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-06-18 06:49:48 +0000 |
commit | 2216362439c416dafc58ddd7023eb7d324eb1960 (patch) | |
tree | 08d99762ce6dfb345677529e002a4e3c3c6a3672 /sysdeps | |
parent | aebcf54cb0fe3d7e7237be9a4b2e79ca0fadfbf4 (diff) | |
download | glibc-2216362439c416dafc58ddd7023eb7d324eb1960.tar.gz glibc-2216362439c416dafc58ddd7023eb7d324eb1960.tar.xz glibc-2216362439c416dafc58ddd7023eb7d324eb1960.zip |
Update.
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.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/powerpc/powerpc64/dl-machine.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/powerpc/powerpc64/dl-machine.h b/sysdeps/powerpc/powerpc64/dl-machine.h index 1336e0d309..7f0353f687 100644 --- a/sysdeps/powerpc/powerpc64/dl-machine.h +++ b/sysdeps/powerpc/powerpc64/dl-machine.h @@ -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; |