This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] glibc 2.2.94 - hppa - revised plt relocation patch


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]