This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: PATCH: ARM dl-trampoline.S
- From: Daniel Jacobowitz <drow at false dot org>
- To: Mark Mitchell <mark at codesourcery dot com>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Wed, 19 Jan 2005 12:02:18 -0500
- Subject: Re: PATCH: ARM dl-trampoline.S
- References: <200501191631.j0JGVVRA002591@sirius.codesourcery.com>
On Wed, Jan 19, 2005 at 08:31:31AM -0800, Mark Mitchell wrote:
>
> This patch updates the ARM port for the recent dl-trampoline.S and
> link.h changes. OK to apply?
Did you test this? I'm pretty sure that RESOLVE_MAP returns a link
map, unlike RESOLVE.
> *************** elf_machine_rela (struct link_map *map,
> *** 532,542 ****
> else
> {
> # ifndef RESOLVE_CONFLICT_FIND_MAP
> const Elf32_Sym *const refsym = sym;
> # endif
> ! Elf32_Addr value = RESOLVE (&sym, version, r_type);
> if (sym)
> value += sym->st_value;
>
> switch (r_type)
> {
> --- 423,433 ----
> else
> {
> # ifndef RESOLVE_CONFLICT_FIND_MAP
> const Elf32_Sym *const refsym = sym;
> # endif
> ! Elf32_Addr value = RESOLVE_MAP (&sym, version, r_type);
> if (sym)
> value += sym->st_value;
>
> switch (r_type)
> {
--
Daniel Jacobowitz