non-scalar DL_LOADADDR_TYPE

Filippo ARCIDIACONO filippo.arcidiacono at st.com
Fri Mar 2 07:15:19 UTC 2012



> -----Original Message-----
> From: uclibc-bounces at uclibc.org [mailto:uclibc-bounces at uclibc.org] On
> Behalf Of Bernhard Reutner-Fischer
> Sent: Thursday, March 01, 2012 9:41 PM
> To: Henderson, Stuart
> Cc: uclibc at uclibc.org
> Subject: Re: non-scalar DL_LOADADDR_TYPE
> 
> On Mar 1, 2012 7:32 PM, "Henderson, Stuart"
> <Stuart.Henderson at analog.com>
> wrote:
> >
> > Hi,
> > There appears to have been various changes made since 0.9.32 that
> assume
> DL_LOADADDR_TYPE is always a scalar, which isn't the case for fdpic.
> >
> > For instance:
> > dl-startup.c(DL_START) at line 281 checks:
> > if(load_addr)
> >
> > Further on at line 350, it casts a scalar to DL_LOADADDR_TYPE:
> > _dl_get_ready_to_run(tpnt, (DL_LOADADDR_TYPE) header, auxvt, envp,
> argv
> DL_GET_READY_TO_RUN_EXTRA_ARGS);
> >
> > There's other similar changes in other files, these are just two
> examples.  Am I missing something obvious here or do these changes not
> make
> sense for fdpic?
> 
> You are right that they do not make sense, and Carmelo promised to fix
> fdpic support (not sure about the timeframe though). Patches are of
> course
> welcome.

My fault, I have a patch, done some time ago, that have to be reviewed
before post
for discussion.
Shortly I'll post the patch for discussion.

> 
> For fdpic, please use 0.9.32 until a 0.9.33.dot release reinstates it.
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://lists.busybox.net/mailman/listinfo/uclibc



More information about the uClibc mailing list