aboutsummaryrefslogtreecommitdiffstats
path: root/COFF/Chunks.h
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-07-01 13:24:45 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-07-01 13:24:45 +0000
commit0317860f00ca8e821989c92c8a6cc461fd5f2009 (patch)
treeba31f275eb4dfa527c0cd564ba6c5016e2318b16 /COFF/Chunks.h
parent4ea16835ba66f2240d050ffcaee44cee6c97cab9 (diff)
downloadsrc-0317860f00ca8e821989c92c8a6cc461fd5f2009.tar.gz
src-0317860f00ca8e821989c92c8a6cc461fd5f2009.zip
Vendor import of lld trunk r306956:vendor/lld/lld-trunk-r306956
Notes
Notes: svn path=/vendor/lld/dist/; revision=320541 svn path=/vendor/lld/lld-trunk-r306956/; revision=320542; tag=vendor/lld/lld-trunk-r306956
Diffstat (limited to 'COFF/Chunks.h')
-rw-r--r--COFF/Chunks.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/COFF/Chunks.h b/COFF/Chunks.h
index 54fffc5f6d08..6e1bf94da1a5 100644
--- a/COFF/Chunks.h
+++ b/COFF/Chunks.h
@@ -145,9 +145,12 @@ public:
StringRef getSectionName() const override { return SectionName; }
void getBaserels(std::vector<Baserel> *Res) override;
bool isCOMDAT() const;
- void applyRelX64(uint8_t *Off, uint16_t Type, Defined *Sym, uint64_t P) const;
- void applyRelX86(uint8_t *Off, uint16_t Type, Defined *Sym, uint64_t P) const;
- void applyRelARM(uint8_t *Off, uint16_t Type, Defined *Sym, uint64_t P) const;
+ void applyRelX64(uint8_t *Off, uint16_t Type, OutputSection *OS, uint64_t S,
+ uint64_t P) const;
+ void applyRelX86(uint8_t *Off, uint16_t Type, OutputSection *OS, uint64_t S,
+ uint64_t P) const;
+ void applyRelARM(uint8_t *Off, uint16_t Type, OutputSection *OS, uint64_t S,
+ uint64_t P) const;
// Called if the garbage collector decides to not include this chunk
// in a final output. It's supposed to print out a log message to stdout.