[PATCH 3/6] Add support for DSBT ELF to ld.so

Mike Frysinger vapier at gentoo.org
Wed Feb 23 23:12:01 UTC 2011


On Wednesday, February 23, 2011 14:05:49 Bernd Schmidt wrote:
> --- a/ldso/include/dl-defs.h
> +++ b/ldso/include/dl-defs.h
> @@ -212,7 +212,7 @@ typedef struct {
>     _dl_find_hash for this reloc TYPE.  TPNT is the module in which the
>     matching SYM was found.  */
>  #ifndef DL_FIND_HASH_VALUE
> -# define DL_FIND_HASH_VALUE(TPNT, TYPE, SYM) (DL_RELOC_ADDR
> ((SYM)->st_value, (TPNT)->loadaddr))
> +# define DL_FIND_HASH_VALUE(TPNT, TYPE, SYM) (DL_RELOC_ADDR ((TPNT)-
> loadaddr, (SYM)->st_value))
> #endif

is this correct ?  this is non-fdpic code, and seems like it should be a sep 
change if it's a common ELF code bugfix.  the changelog makes no mention of 
this either ...
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.busybox.net/pipermail/uclibc/attachments/20110223/9fc84ebb/attachment.asc>


More information about the uClibc mailing list