[ELF] Allow STV_PROTECTED shared definition to set exportDynamic
A STV_PROTECTED shared definition does not set exportDynamic of a defined symbol. This is on the basis that a protected definition cannot be preempted so the export is unnecessary. However, the condition is imperfect because we don't know whether the shared object was built with a symbolic option. Since dropping the condition simplifies code and matches GNU ld, let's do it.
Loading
Please sign in to comment