[PATCH] [lld] Remove duplicate class definitions of ELF LinkingContexts
shankar.kalpathi.easwaran at gmail.com
Sun Feb 22 08:08:41 PST 2015
With hexagon the relocation encoding depends on the instruction. So when the relocation need to be applied the encoding mask has to be figured out from the instruction how it encodes the immediate bits.
In the case of LTO, it was needed that the linker needed information about target specific behavior to handle specific common symbols. As you mentioned generally it's not needed.
More information about the llvm-commits