search for: needsinterpsect

Displaying 1 result from an estimated 1 matches for "needsinterpsect".

2020 Feb 28
2
Demotion of shared symbols resolved from the dynamic linker.
...t;internal>: reference to __libc_stack_end The last line in the trace output shows where we demote the shared definition to an undefined symbol here: https://github.com/llvm/llvm-project/blob/c8bfed05e21f945b5ac71cd01d62e2854a8ddcf9/lld/ELF/Driver.cpp#L1505 I'm guessing the fix is that if `needsInterpSection()` is true then the dynamic linker should be marked as needed. Its going to end up in the DT_NEEDED anyway so the symbols can't become dangling references. In my case then, the demotion won't happen and everything works as expected. Is this the right direction? -------------- next part -...