From: Ulrich Drepper Date: Sat, 20 Feb 1999 14:58:50 +0000 (+0000) Subject: (elf_machine_rela): DT_STRTAB is already relocated. X-Git-Tag: glibc-2.16-ports-before-merge~2927 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a2790a3c68e2f17ad5a92d41465abe8829569888;p=thirdparty%2Fglibc.git (elf_machine_rela): DT_STRTAB is already relocated. --- diff --git a/sysdeps/m68k/dl-machine.h b/sysdeps/m68k/dl-machine.h index f2fe553069c..8ce24a7f636 100644 --- a/sysdeps/m68k/dl-machine.h +++ b/sysdeps/m68k/dl-machine.h @@ -1,5 +1,5 @@ /* Machine-dependent ELF dynamic relocation inline functions. m68k version. - Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -277,8 +277,7 @@ elf_machine_rela (struct link_map *map, const Elf32_Rela *reloc, extern char **_dl_argv; const char *strtab; - strtab = ((void *) map->l_addr - + map->l_info[DT_STRTAB]->d_un.d_ptr); + strtab = (const void *) map->l_info[DT_STRTAB]->d_un.d_ptr; _dl_sysdep_error (_dl_argv[0] ?: "", ": Symbol `", strtab + refsym->st_name, "' has different size in shared object, "