forked from OSchip/llvm-project
parent
3967ea05a9
commit
af52f6af22
|
@ -658,8 +658,10 @@ static void scanRelocs(InputSectionBase<ELFT> &C, ArrayRef<RelTy> Rels) {
|
|||
|
||||
if (refersToGotEntry(Expr)) {
|
||||
if (Config->EMachine == EM_MIPS) {
|
||||
// MIPS ABI has special rules to process GOT entries
|
||||
// and doesn't require relocation entries for them.
|
||||
// MIPS ABI has special rules to process GOT entries and doesn't
|
||||
// require relocation entries for them. A special case is TLS
|
||||
// relocations. In that case dynamic loader applies dynamic
|
||||
// relocations to initialize TLS GOT entries.
|
||||
// See "Global Offset Table" in Chapter 5 in the following document
|
||||
// for detailed description:
|
||||
// ftp://www.linux-mips.org/pub/linux/mips/doc/ABI/mipsabi.pdf
|
||||
|
|
Loading…
Reference in New Issue