[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bug 200827 and 200833



On Fri, Jul 11, 2003 at 11:09:53AM +0200, Gerhard Tonn wrote:
> Hi,
> 
> attached is a fix for these bugs. It is already fixed in 2.3.2 and only 
> generated by the latest binutils. So the binary NMU has to be redone 
> with an older binutils or we need a new glibc version. I have 
> experienced the same on s390.

Came to the same conclusion and then saw your message...

This can not wait for 2.3.2-1, now months overdue.  I'm going to try
redoing the binNMU.  Do you know what binutils version we need?

> --- glibc-2.3.1/glibc-2.3.1/elf/dl-runtime.c	Wed Sep 18 20:49:18 2002
> +++ ./dl-runtime.c	Fri Jul 11 11:49:18 2003
> @@ -84,7 +84,7 @@
>  	  {
>  	    const ElfW(Half) *vernum =
>  	      (const void *) D_PTR (l, l_info[VERSYMIDX (DT_VERSYM)]);
> -	    ElfW(Half) ndx = vernum[ELFW(R_SYM) (reloc->r_info) & 0x7fff];
> +	    ElfW(Half) ndx = vernum[ELFW(R_SYM) (reloc->r_info)] & 0x7fff;
>  	    const struct r_found_version *version = &l->l_versions[ndx];
>  
>  	    if (version->hash != 0)
> @@ -179,7 +179,7 @@
>  	      {
>  		const ElfW(Half) *vernum =
>  		  (const void *) D_PTR (l,l_info[VERSYMIDX (DT_VERSYM)]);
> -		ElfW(Half) ndx = vernum[ELFW(R_SYM) (reloc->r_info) & 0x7fff];
> +		ElfW(Half) ndx = vernum[ELFW(R_SYM) (reloc->r_info)] & 0x7fff;
>  		const struct r_found_version *version = &l->l_versions[ndx];
>  
>  		if (version->hash != 0)


-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



Reply to: