Lines Matching full:addend

196   void addEntry(InputFile &file, Symbol &sym, int64_t addend, RelExpr expr);
201 int64_t addend) const;
203 int64_t addend) const;
242 // GOT using 16-bit index. Each unique Symbol-Addend pair has its own
312 // Symbol and addend.
329 // Maps from Symbol+Addend pair or just Symbol to the GOT entry index.
413 /// be nullptr) and uses #addend as the result of computeAddend().
416 /// only used to compute the addend with InputSection::getRelocTargetVA().
420 /// symbol table and uses #addend as the value of computeAddend().
423 /// symbol table and uses InputSection::getRelocTargetVA() + #addend for the
424 /// final addend. It can be used for relocations that write the symbol VA as
425 // the addend (e.g. R_MIPS_TLS_TPREL64) but still reference the symbol.
433 uint64_t offsetInSec, Kind kind, Symbol &sym, int64_t addend, in DynamicReloc() argument
436 addend(addend), kind(kind), expr(expr) {} in DynamicReloc()
439 uint64_t offsetInSec, int64_t addend = 0)
441 addend(addend), kind(AddendOnly), expr(R_ADDEND) {} in sym()
446 int64_t addend) in DynamicReloc() argument
448 offsetInSec(offsetInSec), type(type), addend(addend), in DynamicReloc()
457 /// Computes the addend of the dynamic relocation. Note that this is not the
458 /// same as the #addend member variable as it may also include the symbol
471 // Initially input addend, then the output addend after
473 int64_t addend; variable
501 /// Add a dynamic relocation without writing an addend to the output section.
507 /// Add a dynamic relocation against \p sym with an optional addend.
509 uint64_t offsetInSec, Symbol &sym, int64_t addend = 0,
512 /// (i.e. InputSection::getRelocTargetVA()) + \p addend as the addend.
518 uint64_t offsetInSec, Symbol &sym, int64_t addend, in addRelativeReloc() argument
520 assert(expr != R_ADDEND && "expected non-addend relocation expression"); in addRelativeReloc()
522 offsetInSec, sym, addend, expr, addendRelType); in addRelativeReloc()
524 /// Add a dynamic relocation using the target address of \p sym as the addend
531 uint64_t offsetInSec, Symbol &sym, int64_t addend, RelExpr expr, in addReloc() argument
535 if (config->writeAddends && (expr != R_ADDEND || addend != 0)) in addReloc()
536 sec.addReloc({expr, addendRelType, offsetInSec, addend, &sym}); in addReloc()
537 addReloc<shard>({dynType, &sec, offsetInSec, kind, sym, addend, expr}); in addReloc()
1344 uint64_t getEntryVA(const Symbol *sym, int64_t addend);
1345 std::optional<uint32_t> addEntry(const Symbol *sym, int64_t addend);