forked from OSchip/llvm-project
parent
7ef6fd3402
commit
8a1a4e7cf7
|
@ -52,7 +52,7 @@ void reloc32S(uint8_t *location, uint64_t P, uint64_t S, int64_t A) {
|
|||
}
|
||||
} // 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;
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue