summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-05-09 03:39:05 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-05-09 03:39:05 +0000
commit0d15f7313f0280e0f3445adc52bbb646a0521057 (patch)
treefd9adc4943c63ae61178cb612f28b27b71c0ad08 /llvm/lib/Object/MachOObjectFile.cpp
parent6e0ff1a3cb5a1719c12ce156c4297d724c20b955 (diff)
downloadbcm5719-llvm-0d15f7313f0280e0f3445adc52bbb646a0521057.tar.gz
bcm5719-llvm-0d15f7313f0280e0f3445adc52bbb646a0521057.zip
Change getRelocationAdditionalInfo to be ELF only.
It was only implemented for ELF where it collected the Addend, so this patch also renames it to getRelocationAddend. llvm-svn: 181502
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
-rw-r--r--llvm/lib/Object/MachOObjectFile.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/Object/MachOObjectFile.cpp b/llvm/lib/Object/MachOObjectFile.cpp
index dfd8d3d3dd1..af14c721459 100644
--- a/llvm/lib/Object/MachOObjectFile.cpp
+++ b/llvm/lib/Object/MachOObjectFile.cpp
@@ -989,12 +989,6 @@ MachOObjectFile::getRelocationTypeName(DataRefImpl Rel,
return object_error::success;
}
-error_code MachOObjectFile::getRelocationAdditionalInfo(DataRefImpl Rel,
- int64_t &Res) const {
- Res = 0;
- return object_error::success;
-}
-
error_code
MachOObjectFile::getRelocationValueString(DataRefImpl Rel,
SmallVectorImpl<char> &Result) const {
OpenPOWER on IntegriCloud