#include "Symbols.h"
#include "SyntheticSections.h"
#include "Target.h"
#include "lld/Common/ErrorHandler.h"
#include "llvm/Support/Endian.h"
usingnamespacellvm;
usingnamespacellvm::support::endian;
usingnamespacellvm::ELF;
usingnamespacelld;
usingnamespacelld::elf;
namespace {
class SPARCV9 final : public TargetInfo { … };
}
SPARCV9::SPARCV9() { … }
RelExpr SPARCV9::getRelExpr(RelType type, const Symbol &s,
const uint8_t *loc) const { … }
void SPARCV9::relocate(uint8_t *loc, const Relocation &rel,
uint64_t val) const { … }
void SPARCV9::writePlt(uint8_t *buf, const Symbol & ,
uint64_t pltEntryAddr) const { … }
TargetInfo *elf::getSPARCV9TargetInfo() { … }