[ELF][MIPS] Treat R_MIPS_TLS_{D}TPREL_HI16/LO16 as relative relocations
These relocations are calculated as S + A - DTPREL or S + A - TPREL, where DTPREL = TlsVA - 0x8000, TPREL = TlsVA - 0x7000. So the result is relative to the TLS output section and is not an absolut value The fix allows to escape creation of unnecessary dynamic relocations in case of DSO linking. llvm-svn: 266923
Loading
Please sign in to comment