On Tuesday 22 January 2008 06:37:35 Bernd Schmidt wrote:
> For the Blackfin, we need to compile several versions of uClibc and
> install them in such a way that the cross compilers will find them. To
> do this, we've come up with the following patch (combined from multiple
> contributions by Jie Z
Joakim Tjernlund wrote:
> On Tue, 2008-01-22 at 15:44 +0100, Carmelo AMOROSO wrote:
>
>> Hi All,
>> the attached patch will solve an problem when statically linking
>> a C++ application with gcc configured to use unwind-dw2-fde-glibc
>> implementation.
>> This needs _dl_iterate_phdr to be inclu
On Tue, 2008-01-22 at 15:44 +0100, Carmelo AMOROSO wrote:
> Hi All,
> the attached patch will solve an problem when statically linking
> a C++ application with gcc configured to use unwind-dw2-fde-glibc
> implementation.
> This needs _dl_iterate_phdr to be included into libc.a instead of libdl.a,
Hi All,
Please discard my previous patch and look at this one.
I forgot to add the dl-support.c file that implement the _dl_aux_init
function used, when statically linking, to initialize the _dl_phdr and _dl_phnum
symbols used into _dl_iterate_phdr.
Moreover, __uClibc_main needs to call the _dl_aux