GNU linkers allow to do that,
this should fix the https://llvm.org/bugs/show_bug.cgi?id=30960.
Details
Details
Diff Detail
Diff Detail
Event Timeline
ELF/Relocations.cpp | ||
---|---|---|
449 | I think this is wrong. It is possible that we should accept the test for other reasons, but at this point in the code we are trying to preempt a symbol, and that is not possible with protected visibility. It is possible the address is not significant, but we don't know that. There is no flag in ELF to inform us. |
Comment Actions
Solution is incorrect, more details available at PR page (https://bugs.llvm.org//show_bug.cgi?id=30960)
I think this is wrong.
It is possible that we should accept the test for other reasons, but at this point in the code we are trying to preempt a symbol, and that is not possible with protected visibility.
It is possible the address is not significant, but we don't know that. There is no flag in ELF to inform us.