forked from OSchip/llvm-project
ELF: Remove dead code.
R_X86_64_DTPOFF64 relocs are for the dynamic linker. Static linkers create them but don't consume them. llvm-svn: 259679
This commit is contained in:
parent
126a2b534e
commit
c2d2f44683
|
|
@ -873,9 +873,6 @@ void X86_64TargetInfo::relocateOne(uint8_t *Loc, uint8_t *BufEnd, uint32_t Type,
|
|||
case R_X86_64_DTPOFF32:
|
||||
write32le(Loc, SA);
|
||||
break;
|
||||
case R_X86_64_DTPOFF64:
|
||||
write64le(Loc, SA);
|
||||
break;
|
||||
case R_X86_64_GOTPCREL:
|
||||
case R_X86_64_PC32:
|
||||
case R_X86_64_PLT32:
|
||||
|
|
|
|||
Loading…
Reference in New Issue