• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/lld/ELF/Arch/

Lines Matching refs:rel

237 bool elf::tryRelaxPPC64TocIndirection(const Relocation &rel, uint8_t *bufLoc) {
239 if (rel.addend < 0)
243 Defined *defSym = dyn_cast<Defined>(rel.sym);
251 config->isLE ? getRelaTocSymAndAddend<ELF64LE>(tocISB, rel.addend)
252 : getRelaTocSymAndAddend<ELF64BE>(tocISB, rel.addend);
268 target->relaxGot(bufLoc, rel, tocRelative + ppc64TocOffset);
286 void relocate(uint8_t *loc, const Relocation &rel,
296 void relaxGot(uint8_t *loc, const Relocation &rel,
298 void relaxTlsGdToIe(uint8_t *loc, const Relocation &rel,
300 void relaxTlsGdToLe(uint8_t *loc, const Relocation &rel,
302 void relaxTlsLdToLe(uint8_t *loc, const Relocation &rel,
304 void relaxTlsIeToLe(uint8_t *loc, const Relocation &rel,
466 void PPC64::relaxGot(uint8_t *loc, const Relocation &rel, uint64_t val) const {
467 switch (rel.type) {
470 relocate(loc, rel, val);
487 void PPC64::relaxTlsGdToLe(uint8_t *loc, const Relocation &rel,
504 switch (rel.type) {
527 void PPC64::relaxTlsLdToLe(uint8_t *loc, const Relocation &rel,
544 switch (rel.type) {
561 relocate(loc, rel, val);
593 void PPC64::relaxTlsIeToLe(uint8_t *loc, const Relocation &rel,
615 switch (rel.type) {
879 void PPC64::relocate(uint8_t *loc, const Relocation &rel, uint64_t val) const {
880 RelType type = rel.type;
888 checkAlignment(loc, val, 4, rel);
895 checkIntUInt(loc, val, 16, rel);
899 checkIntUInt(loc, val, 32, rel);
904 checkInt(loc, val, 16, rel);
908 checkAlignment(loc, lo(val), mask + 1, rel);
963 checkAlignment(loc, lo(val), mask + 1, rel);
979 checkInt(loc, val, 16, rel);
983 checkInt(loc, val, 32, rel);
993 checkInt(loc, val, 16, rel);
994 checkAlignment(loc, val, 4, rel);
1001 checkInt(loc, val, 26, rel);
1002 checkAlignment(loc, val, 4, rel);
1013 checkInt(loc, val, 34, rel);
1024 checkInt(loc, val, 34, rel);
1118 void PPC64::relaxTlsGdToIe(uint8_t *loc, const Relocation &rel,
1120 switch (rel.type) {