summaryrefslogtreecommitdiffstats
path: root/lld/ELF/InputSection.h
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2015-09-23 16:57:31 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2015-09-23 16:57:31 +0000
commit2812aa82d0cd9d626e4da81b5cf90dd3068aa3cc (patch)
tree1894c4f13e86982e104f395a326f1fde32eb3ce9 /lld/ELF/InputSection.h
parent54bbae5c0f5d9543ddf976080325306d7dcec2a1 (diff)
downloadbcm5719-llvm-2812aa82d0cd9d626e4da81b5cf90dd3068aa3cc.tar.gz
bcm5719-llvm-2812aa82d0cd9d626e4da81b5cf90dd3068aa3cc.zip
[elf2] Pass BSSSec to the relocation handling code differently. Don't store it in the symbol.
llvm-svn: 248393
Diffstat (limited to 'lld/ELF/InputSection.h')
-rw-r--r--lld/ELF/InputSection.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lld/ELF/InputSection.h b/lld/ELF/InputSection.h
index b8a7b7531a7..f0de99ec084 100644
--- a/lld/ELF/InputSection.h
+++ b/lld/ELF/InputSection.h
@@ -37,8 +37,8 @@ public:
// Write this section to a mmap'ed file, assuming Buf is pointing to
// beginning of the output section.
- void writeTo(uint8_t *Buf, const PltSection<ELFT> &PltSec,
- const GotSection<ELFT> &GotSec);
+ void writeTo(uint8_t *Buf, const OutputSection<ELFT> &BssSec,
+ const PltSection<ELFT> &PltSec, const GotSection<ELFT> &GotSec);
StringRef getSectionName() const;
const Elf_Shdr *getSectionHdr() const { return Header; }
@@ -65,6 +65,7 @@ private:
llvm::iterator_range<
const llvm::object::Elf_Rel_Impl<ELFT, isRela> *> Rels,
const ObjectFile<ELFT> &File, uintX_t BaseAddr,
+ const OutputSection<ELFT> &BssSec,
const PltSection<ELFT> &PltSec, const GotSection<ELFT> &GotSec);
// The offset from beginning of the output sections this section was assigned
OpenPOWER on IntegriCloud