Lines Matching defs:RISCV
1 //===- RISCV.cpp ----------------------------------------------------------===//
30 class RISCV final : public TargetInfo {
32 RISCV(Ctx &);
110 RISCV::RISCV(Ctx &ctx) : TargetInfo(ctx) {
146 uint32_t RISCV::calcEFlags() const {
171 int64_t RISCV::getImplicitAddend(const uint8_t *buf, RelType type) const {
198 void RISCV::writeGotHeader(uint8_t *buf) const {
205 void RISCV::writeGotPlt(uint8_t *buf, const Symbol &s) const {
212 void RISCV::writeIgotPlt(uint8_t *buf, const Symbol &s) const {
221 void RISCV::writePltHeader(uint8_t *buf) const {
242 void RISCV::writePlt(uint8_t *buf, const Symbol &sym,
255 RelType RISCV::getDynRel(RelType type) const {
260 RelExpr RISCV::getRelExpr(const RelType type, const Symbol &s,
331 void RISCV::relocate(uint8_t *loc, const Relocation &rel, uint64_t val) const {
577 void RISCV::relocateAlloc(InputSectionBase &sec, uint8_t *buf) const {
900 bool RISCV::relaxOnce(int pass) const {
919 void RISCV::finalizeRelax(int passes) const {
1315 void elf::setRISCVTargetInfo(Ctx &ctx) { ctx.target.reset(new RISCV(ctx)); }