Code for handling TLS relocations was moved out scanRelocs() to new function handleTlsRelocations().
That is because scanRelocs already too large to put more TLS code into it.
Details
Details
Diff Detail
Diff Detail
Event Timeline
ELF/Writer.cpp | ||
---|---|---|
196 | Ok, fixed. Just in case my meaning was "handle different types of TLS relocations" so I put (s). |
Instead of parameterizing isRela, you can parameterize RelT and change the function signature to bool(unsigned Type, SymbolBody *, InputSectionBase<ELFT> &, RelT &RI)