[PATCH] ldso: fix fdpic support broken from prelink patch
Filippo ARCIDIACONO
filippo.arcidiacono at st.com
Mon Mar 5 18:17:13 UTC 2012
> -----Original Message-----
> From: Filippo ARCIDIACONO [mailto:filippo.arcidiacono at st.com]
> Sent: Monday, March 05, 2012 7:12 PM
> To: uclibc at uclibc.org
> Cc: Filippo Arcidiacono
> Subject: [PATCH] ldso: fix fdpic support broken from prelink patch
>
> The fdpic support has been broken since the prelink support was added,
> because it doesn't take into account DL_LOADADDR_TYPE could be a
> type different 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 | 22 ++++++++++++++--------
> ldso/ldso/dl-startup.c | 8 +++-----
> ldso/ldso/fdpic/dl-sysdep.h | 10 ++++++++++
> ldso/ldso/ldso.c | 17 +++++++++++------
> 6 files changed, 58 insertions(+), 19 deletions(-)
>
[SNIP]
I'm testing this patch for sh archs. I'll let you know the results.
In the meantime any comments are welcome.
Regards,
Filippo Arcidiacono
More information about the uClibc
mailing list