to decrease sizeof(SymbolUnion) by 8 on ELF64 platforms.
Symbols needing such information are typically 1% or fewer (5134 out of 560520
when linking clang, 19898 out of 5550705 when linking chrome). Storing them
elsewhere can decrease memory usage and symbol initialization time.
There is a ~0.8% saving on max RSS when linking a large program.
Future direction:
- Move some of dynsymIndex/verdefIndex/versionId to SymbolAux
- Support mixed TLSDESC and TLS GD without increasing sizeof(SymbolUnion)
Would it be better to use sym.getPltIdx() here? It is slightly less efficient, but is more consistent with the rest of the code.