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
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,
and the implementation has been fixed to handle the static case to