Re: FD-PIC patches for uClibc

2007-12-03 Thread Bernd Schmidt
No one made further comments regarding the second set of patches, so I've now made another pass over them to fix a few problems and style issues, and checked them in. A few minor issues remain to be resolved to get the Blackfin support 100% working, and the FRV needs attention as well. I'll be wo

Re: FD-PIC patches for uClibc

2007-12-01 Thread Bernd Schmidt
Carmelo Amoroso wrote: > with the solution proposed into the nptl branch, you can keep the caller > of _dl_find_hash always the same. Where the extra tpnt parameter is not > required, > independently from TLS or FDPIC code, like into ldso.c to lookup > some function (malloc), you can safely pass NU

Re: FD-PIC patches for uClibc

2007-11-30 Thread Carmelo Amoroso
Bernd Schmidt wrote: > Carmelo Amoroso wrote: > >> please have a look at the nptl branch where already is the updated >> _dl_find_hash >> for NPTL using the same extra parameter you need. There is also a wrapper >> around it as suggested by Jocke. >> I think there is a way to use the interface fo

Re: FD-PIC patches for uClibc

2007-11-29 Thread Alexandre Oliva
Hi, Bernd, Thanks for pushing these patches out! On Nov 29, 2007, Bernd Schmidt <[EMAIL PROTECTED]> wrote: > -char *_dl_find_hash(const char *name, struct dyn_elf *rpnt, struct > elf_resolve *mytpnt, int type_class) > +char *_dl_lookup_hash(const char *name, struct dyn_elf *rpnt, > +

Re: FD-PIC patches for uClibc

2007-11-29 Thread Bernd Schmidt
Carmelo Amoroso wrote: > please have a look at the nptl branch where already is the updated > _dl_find_hash > for NPTL using the same extra parameter you need. There is also a wrapper > around it as suggested by Jocke. > I think there is a way to use the interface for nptl into your case. > In th

Re: FD-PIC patches for uClibc

2007-11-27 Thread Bernd Schmidt
Joakim Tjernlund wrote: >> -Original Message- >> From: Bernd Schmidt [mailto:[EMAIL PROTECTED] >> Joakim Tjernlund wrote: > The 02_underscores patch is really ugly. Any suggestions how to improve it? >>> remove _ syms from gcc would be best. Do you really need them? >> Yes. The

Re: FD-PIC patches for uClibc

2007-11-27 Thread Jean-Christian de Rivaz
Joakim Tjernlund a écrit : >> -Original Message- >> From: Bernd Schmidt [mailto:[EMAIL PROTECTED] >> Sent: den 27 november 2007 13:07 >> To: [EMAIL PROTECTED] >> Cc: 'uClibc'; 'Alexandre Oliva' >> Subject: Re: FD-PIC pa

RE: FD-PIC patches for uClibc

2007-11-27 Thread Joakim Tjernlund
> -Original Message- > From: Bernd Schmidt [mailto:[EMAIL PROTECTED] > Sent: den 27 november 2007 13:07 > To: [EMAIL PROTECTED] > Cc: 'uClibc'; 'Alexandre Oliva' > Subject: Re: FD-PIC patches for uClibc > > Joakim Tjernlund wrote: > >&g

Re: FD-PIC patches for uClibc

2007-11-27 Thread Carmelo Amoroso
On 27/11/2007, Bernd Schmidt <[EMAIL PROTECTED]> wrote: > Joakim Tjernlund wrote: > >>> The 02_underscores patch is really ugly. > >> Any suggestions how to improve it? > > > > remove _ syms from gcc would be best. Do you really need them? > > Yes. The assembly language isn't really parseable othe

Re: FD-PIC patches for uClibc

2007-11-27 Thread Bernd Schmidt
Joakim Tjernlund wrote: >>> The 02_underscores patch is really ugly. >> Any suggestions how to improve it? > > remove _ syms from gcc would be best. Do you really need them? Yes. The assembly language isn't really parseable otherwise. >>> Don't like the dl_find_hash_mod v.s dl_find_hash thingy.

Re: FD-PIC patches for uClibc

2007-11-26 Thread Joakim Tjernlund
On Sun, 2007-11-25 at 22:59 +0100, Bernd Schmidt wrote: > Joakim Tjernlund wrote: > > > Did a quick scan of the patches and came up with these comments: > > While they tell me what you dislike, they don't really provide much in > the way of alternatives. Yes, sorry for the negative tone. Was in

Re: FD-PIC patches for uClibc

2007-11-25 Thread Bernd Schmidt
Joakim Tjernlund wrote: > Did a quick scan of the patches and came up with these comments: While they tell me what you dislike, they don't really provide much in the way of alternatives. > The 02_underscores patch is really ugly. Any suggestions how to improve it? > Don't like the dl_find_hash

RE: FD-PIC patches for uClibc

2007-11-25 Thread Joakim Tjernlund
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Bernd Schmidt > Sent: den 25 november 2007 15:08 > To: uClibc > Cc: Alexandre Oliva > Subject: FD-PIC patches for uClibc > > These are the FD-PIC patches necessary

FD-PIC patches for uClibc

2007-11-25 Thread Bernd Schmidt
These are the FD-PIC patches necessary to get ld.so working on the Blackfin. These were originally written by Alex Oliva for the FRV and updated to work with current uClibc sources by myself. I'm posting these for review; I intend to check them in in a few days if there are no objections. Note t