[PATCH V4] ldso: fix fdpic support broken from prelink patch

Mike Frysinger vapier at gentoo.org
Sat Mar 31 15:26:52 UTC 2012


On Thursday 29 March 2012 04:50:02 Filippo ARCIDIACONO wrote:
> --- a/ldso/ldso/dl-startup.c
> +++ b/ldso/ldso/dl-startup.c
>
> -	SEND_ADDRESS_STDERR_DEBUG(DL_LOADADDR_BASE(header), 1);
> +	SEND_ADDRESS_STDERR_DEBUG(header, 1);

before fdpic, this was:
	SEND_ADDRESS_STDERR_DEBUG(header, 1);

after fdpic, it was:
	SEND_ADDRESS_STDERR_DEBUG(DL_LOADADDR_BASE(load_addr), 1);

after prelink, it was:
	SEND_ADDRESS_STDERR_DEBUG(DL_LOADADDR_BASE(header), 1);

now it's back to:
	SEND_ADDRESS_STDERR_DEBUG(header, 1);

i think it's supposed to be:
	SEND_ADDRESS_STDERR_DEBUG(
		DL_LOADADDR_BASE(DL_GET_LOADADDR_MAPADDR(load_addr, header)),
		1);
can you confirm ?  or should it even be simpler and just always use load_addr ?
-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/20120331/e3f2c440/attachment.asc>


More information about the uClibc mailing list