This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] glibc 2.2.94 - hppa - revised plt relocation patch
- From: "H. J. Lu" <hjl at lucon dot org>
- To: Carlos O'Donell <carlos at baldric dot uwo dot ca>
- Cc: libc-alpha at sources dot redhat dot com, debian-glibc at lists dot debian dot org
- Date: Wed, 25 Sep 2002 10:05:53 -0700
- Subject: Re: [PATCH] glibc 2.2.94 - hppa - revised plt relocation patch
- References: <20020925170306.GB14672@systemhalted>
On Wed, Sep 25, 2002 at 01:03:06PM -0400, Carlos O'Donell wrote:
> diff -urN libc/elf/do-rel.h libc/elf/do-rel.h
> --- libc/elf/do-rel.h 18 Sep 2002 18:28:43 -0000
> +++ libc/elf/do-rel.h 23 Sep 2002 11:35:14 -0000
> @@ -30,6 +30,12 @@
> # define RELCOUNT_IDX VERSYMIDX (DT_RELCOUNT)
> #endif
>
> +#ifndef DO_ELF_MACHINE_REL_RELATIVE
> +#define DO_ELF_MACHINE_REL_RELATIVE(map, l_addr, reloc) \
> + elf_machine_rel_relative (l_addr, reloc, \
> + (void *) (l_addr + relative->r_offset))
> +#endif
> +
Where does `relative' come from? Why not add it to the arg?
H.J.