Implement new load map API.

Change-Id: I5f148fe66f899b2fa6a2e75430afa988f38db58d

[ROCm/ROCR-Runtime commit: 0e4cab3001]
This commit is contained in:
Konstantin Zhuravlyov
2016-06-28 11:24:24 -04:00
parent 25ff46fbb8
commit b43cdae36b
10 changed files with 510 additions and 18 deletions
@@ -456,6 +456,7 @@ namespace amd {
uint64_t imageSize() const override { return phdr.p_filesz; }
uint64_t vaddr() const override { return phdr.p_vaddr; }
uint64_t flags() const override { return phdr.p_flags; }
uint64_t offset() const override { return phdr.p_offset; }
const char* data() const override;
uint16_t getSegmentIndex() override;
bool updateAddSection(Section *section) override;