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

Filippo ARCIDIACONO filippo.arcidiacono at st.com
Thu Mar 15 10:59:03 UTC 2012


Hi Mike,

> -----Original Message-----
> From: Filippo ARCIDIACONO [mailto:filippo.arcidiacono at st.com]
> Sent: Wednesday, March 07, 2012 10:07 AM
> To: uclibc at uclibc.org
> Cc: Filippo Arcidiacono
> Subject: [PATCH V2] ldso: fix fdpic support broken from prelink patch
> 
> The fdpic support has been broken since the prelink support was added,
> because it didn't take into account DL_LOADADDR_TYPE could be a
> different
> type of ElfW(Addr).
> 
> Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono at st.com>
> ---
>  ldso/include/dl-defs.h      |   11 +++++++++++
>  ldso/ldso/c6x/dl-sysdep.h   |    9 +++++++++
>  ldso/ldso/dl-elf.c          |   26 +++++++++++++++++---------
>  ldso/ldso/dl-startup.c      |    8 +++-----
>  ldso/ldso/fdpic/dl-sysdep.h |   10 ++++++++++
>  ldso/ldso/ldso.c            |   17 +++++++++++------
>  6 files changed, 61 insertions(+), 20 deletions(-)
> 
> diff --git a/ldso/include/dl-defs.h b/ldso/include/dl-defs.h
> index 11edc4d..86ad22f 100644

[SNIP]

> --
> 1.5.5.6

You've got to see this version of patch?
Any feedback are welcome.

Thanks,
Filippo.



More information about the uClibc mailing list