diff options
| author | Rui Ueyama <ruiu@google.com> | 2016-03-13 03:43:32 +0000 | 
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2016-03-13 03:43:32 +0000 | 
| commit | 84be8c52196f812d6fbdcb96f534dd10b6e35fe4 (patch) | |
| tree | e142d11d8f71f8bcc5c5182c66684e1f1c1d40b9 | |
| parent | 3ed2f06913c505f31247ccf6431bbf4f74fe5a4a (diff) | |
| download | bcm5719-llvm-84be8c52196f812d6fbdcb96f534dd10b6e35fe4.tar.gz bcm5719-llvm-84be8c52196f812d6fbdcb96f534dd10b6e35fe4.zip  | |
Remove redundant check.
The control reaches here only when linking MIPS binaries.
llvm-svn: 263359
| -rw-r--r-- | lld/ELF/InputSection.cpp | 2 | 
1 files changed, 0 insertions, 2 deletions
diff --git a/lld/ELF/InputSection.cpp b/lld/ELF/InputSection.cpp index adbb5fe4ed1..d634e7ce44f 100644 --- a/lld/ELF/InputSection.cpp +++ b/lld/ELF/InputSection.cpp @@ -134,8 +134,6 @@ void InputSection<ELFT>::copyRelocations(uint8_t *Buf,  template <class RelTy>  static uint32_t getMipsPairType(const RelTy *Rel, const SymbolBody &Sym) { -  if (Config->EMachine != EM_MIPS) -    return R_MIPS_NONE;    switch (Rel->getType(Config->Mips64EL)) {    case R_MIPS_HI16:      return R_MIPS_LO16;  | 

