mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Update.
2001-09-08 Ben Collins <bcollins@debian.org> * sysdeps/arm/dl-machine.h (elf_machine_rel): Fix thinko in usage of RESOLVE() (r_type, not reloc->r_type).
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2001-09-08 Ben Collins <bcollins@debian.org>
|
||||||
|
|
||||||
|
* sysdeps/arm/dl-machine.h (elf_machine_rel): Fix thinko in
|
||||||
|
usage of RESOLVE() (r_type, not reloc->r_type).
|
||||||
|
|
||||||
2001-09-08 Ulrich Drepper <drepper@redhat.com>
|
2001-09-08 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* elf/dl-object.c: Avoid allocating extra memory block for name.
|
* elf/dl-object.c: Avoid allocating extra memory block for name.
|
||||||
|
@ -47,7 +47,7 @@ _dl_new_object (char *realname, const char *libname, int type,
|
|||||||
|
|
||||||
newname = (struct libname_list *) (new + 1);
|
newname = (struct libname_list *) (new + 1);
|
||||||
newname->name = (char *) memcpy (newname + 1, libname, libname_len);
|
newname->name = (char *) memcpy (newname + 1, libname, libname_len);
|
||||||
newname->next = NULL;
|
/* newname->next = NULL; We use calloc therefore not necessary. */
|
||||||
newname->dont_free = 1;
|
newname->dont_free = 1;
|
||||||
|
|
||||||
new->l_name = realname;
|
new->l_name = realname;
|
||||||
|
@ -428,7 +428,7 @@ elf_machine_rel (struct link_map *map, const Elf32_Rel *reloc,
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
const Elf32_Sym *const refsym = sym;
|
const Elf32_Sym *const refsym = sym;
|
||||||
Elf32_Addr value = RESOLVE (&sym, version, reloc->r_type);
|
Elf32_Addr value = RESOLVE (&sym, version, r_type);
|
||||||
if (sym)
|
if (sym)
|
||||||
value += sym->st_value;
|
value += sym->st_value;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user