diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2018-01-03 19:57:08 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2018-01-03 20:05:32 +0100 |
commit | fed9ddae48ce54ebd8f7064426400297cfb2b6bd (patch) | |
tree | 9916518df81149dfd7686fbd18d4f478c07b38e0 /libc/sysdeps | |
parent | dc382b5a91dec9f29e51b0bf10f4c4df2a276b9b (diff) |
fdpic: fix ld.so crashing
Newer binutils is creating a section INIT_ARRAY from any .init_array
and .ctors in the code. When ld.so runs initialization functions for
loaded objects with _dl_run_init_array() it crashes on Bfin FDPIC
system. It is trying to execute the function in pthread.c, which is
no longer useful with the combined C library approach.
Gcc -Wl,-M debugging output was very useful to find the reason for
the INIT_ARRAY section.
Diffstat (limited to 'libc/sysdeps')
0 files changed, 0 insertions, 0 deletions