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.
This commit is contained in:
Ulrich Drepper 2003-06-18 06:49:48 +00:00
parent aebcf54cb0
commit 2216362439
2 changed files with 7 additions and 1 deletions

View File

@ -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.

View 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;