In the absence of TLS relaxation (rewrite of code sequences),
there is still an applicable optimization:
[gd]: General Dynamic: resolve DTPMOD to 1 and/or resolve DTPOFF statically
All the other relaxations are only performed when transiting to
executable (!config->shared).
Since [gd] is handled differently, we can fold !config->shared into canRelax
and simplify its use sites. Rename the variable to reflect to new semantics.
It looks like we can get rid of this variable now? I.e. looks like isLocalInExecutable can be replaced with !sym.isPreemptible everywhere.