summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object
diff options
context:
space:
mode:
authorHsiangkai Wang <hsiangkai@gmail.com>2019-07-18 15:06:50 +0000
committerHsiangkai Wang <hsiangkai@gmail.com>2019-07-18 15:06:50 +0000
commit657277e0f10d6b783927c5dd1701752247db3767 (patch)
tree7770cd6fafe463a98707882fbd40c4cbf4762fda /llvm/lib/Object
parentf1c05e8d200840241e829af1e569ef10ba033ec5 (diff)
downloadbcm5719-llvm-657277e0f10d6b783927c5dd1701752247db3767.tar.gz
bcm5719-llvm-657277e0f10d6b783927c5dd1701752247db3767.zip
Revert "[DebugInfo] Generate fixups as emitting DWARF .debug_frame/.eh_frame."
This reverts commit 17e3cbf5fe656483d9016d0ba9e1d0cd8629379e. llvm-svn: 366444
Diffstat (limited to 'llvm/lib/Object')
-rw-r--r--llvm/lib/Object/RelocationResolver.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/Object/RelocationResolver.cpp b/llvm/lib/Object/RelocationResolver.cpp
index 8738e2e9f3b..0a243f32e12 100644
--- a/llvm/lib/Object/RelocationResolver.cpp
+++ b/llvm/lib/Object/RelocationResolver.cpp
@@ -335,8 +335,6 @@ static bool supportsRISCV(uint64_t Type) {
case ELF::R_RISCV_NONE:
case ELF::R_RISCV_32:
case ELF::R_RISCV_64:
- case ELF::R_RISCV_SET6:
- case ELF::R_RISCV_SUB6:
case ELF::R_RISCV_ADD8:
case ELF::R_RISCV_SUB8:
case ELF::R_RISCV_ADD16:
@@ -360,10 +358,6 @@ static uint64_t resolveRISCV(RelocationRef R, uint64_t S, uint64_t A) {
return (S + RA) & 0xFFFFFFFF;
case ELF::R_RISCV_64:
return S + RA;
- case ELF::R_RISCV_SET6:
- return (A + (S + RA)) & 0xFF;
- case ELF::R_RISCV_SUB6:
- return (A - (S + RA)) & 0xFF;
case ELF::R_RISCV_ADD8:
return (A + (S + RA)) & 0xFF;
case ELF::R_RISCV_SUB8:
OpenPOWER on IntegriCloud