Displaying 2 results from an estimated 2 matches for "__zinurfilestealinurdata".
2013 Jan 09
0
[LLVMdev] [lld] ELF weak aliases
...ace in the final file.
>
> This works great until another object file provides a definition of
> __stdout_used. The weak definition of it gets totally removed, meaning
> so does the content for the other __stdx_used symbols.
>
> I fixed this by adding weak_alias(dummy_file,
> __zinurfilestealinurdata); to __stdio_exit.c which allocated the 16
> bytes to __zinurfilestealinurdata.
>
> Another way to fix this it to, in the reader, assign all the data to
> the non-weak symbol (dummy_file in this case) when multiple symbols
> share the same location. However, this fails to work if yo...
2013 Jan 09
4
[LLVMdev] [lld] ELF weak aliases
...ore it, they end up in the right place in the final file.
This works great until another object file provides a definition of
__stdout_used. The weak definition of it gets totally removed, meaning
so does the content for the other __stdx_used symbols.
I fixed this by adding weak_alias(dummy_file,
__zinurfilestealinurdata); to __stdio_exit.c which allocated the 16
bytes to __zinurfilestealinurdata.
Another way to fix this it to, in the reader, assign all the data to
the non-weak symbol (dummy_file in this case) when multiple symbols
share the same location. However, this fails to work if you have a
weak symbol poin...