[lld] r175638 - rename fixupAddend to relocAddend
Shankar Easwaran
shankare at codeaurora.org
Wed Feb 20 09:42:00 PST 2013
Author: shankare
Date: Wed Feb 20 11:42:00 2013
New Revision: 175638
URL: http://llvm.org/viewvc/llvm-project?rev=175638&view=rev
Log:
rename fixupAddend to relocAddend
Modified:
lld/trunk/lib/ReaderWriter/ELF/X86_64/X86_64TargetHandler.cpp
lld/trunk/lib/ReaderWriter/ELF/X86_64/X86_64TargetHandler.h
Modified: lld/trunk/lib/ReaderWriter/ELF/X86_64/X86_64TargetHandler.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/X86_64/X86_64TargetHandler.cpp?rev=175638&r1=175637&r2=175638&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/X86_64/X86_64TargetHandler.cpp (original)
+++ lld/trunk/lib/ReaderWriter/ELF/X86_64/X86_64TargetHandler.cpp Wed Feb 20 11:42:00 2013
@@ -52,7 +52,7 @@ void reloc32S(uint8_t *location, uint64_
}
} // end anon namespace
-int64_t X86_64TargetRelocationHandler::fixupAddend(const Reference &ref) const {
+int64_t X86_64TargetRelocationHandler::relocAddend(const Reference &ref) const {
switch (ref.kind()) {
case R_X86_64_PC32:
return 4;
Modified: lld/trunk/lib/ReaderWriter/ELF/X86_64/X86_64TargetHandler.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/X86_64/X86_64TargetHandler.h?rev=175638&r1=175637&r2=175638&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/X86_64/X86_64TargetHandler.h (original)
+++ lld/trunk/lib/ReaderWriter/ELF/X86_64/X86_64TargetHandler.h Wed Feb 20 11:42:00 2013
@@ -30,7 +30,7 @@ public:
applyRelocation(ELFWriter &, llvm::FileOutputBuffer &, const AtomLayout &,
const Reference &)const;
- virtual int64_t fixupAddend(const Reference &)const;
+ virtual int64_t relocAddend(const Reference &)const;
private:
// Cached size of the TLS segment.
More information about the llvm-commits
mailing list