blob: 15ccb814e5f3b8a6d6025ec290ad5bab2d0585c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
//===- lib/ReaderWriter/ELF/PPCELFFile.h -------------------------------===//
//
// The LLVM Linker
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#ifndef LLD_READER_WRITER_ELF_PPC_ELF_FILE_H
#define LLD_READER_WRITER_ELF_PPC_ELF_FILE_H
#include "ELFReader.h"
namespace lld {
namespace elf {
class PPCLinkingContext;
template <class ELFT> class PPCELFFile : public ELFFile<ELFT> {
public:
PPCELFFile(StringRef name) : ELFFile<ELFT>(name) {}
PPCELFFile(std::unique_ptr<MemoryBuffer> mb, bool atomizeStrings,
TargetHandlerBase *handler, error_code &ec)
: ELFFile<ELFT>(std::move(mb), atomizeStrings, handler, ec) {}
};
template <class ELFT> class PPCDynamicFile : public DynamicFile<ELFT> {
public:
PPCDynamicFile(const PPCLinkingContext &context, StringRef name)
: DynamicFile<ELFT>(context, name) {}
};
} // elf
} // lld
#endif // LLD_READER_WRITER_ELF_PPC_ELF_FILE_H
|