Update.
2005-01-25 Alan Modra <amodra@bigpond.net.au> * ysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Test sym_map, not sym, against zero.
This commit is contained in:
parent
790aa1f272
commit
d026cf5fea
@ -1,3 +1,8 @@
|
||||
2005-01-25 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* ysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Test
|
||||
sym_map, not sym, against zero.
|
||||
|
||||
2005-01-24 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* misc/syslog.c: Moved to...
|
||||
|
@ -233,7 +233,7 @@ elf_machine_rela (struct link_map *map, const Elf32_Rela *reloc,
|
||||
else
|
||||
{
|
||||
sym_map = RESOLVE_MAP (&sym, version, r_type);
|
||||
value = sym == NULL ? 0 : sym_map->l_addr + sym->st_value;
|
||||
value = sym_map == NULL ? 0 : sym_map->l_addr + sym->st_value;
|
||||
}
|
||||
value += reloc->r_addend;
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user