Lines Matching refs:rel

50   void relocate(uint8_t *loc, const Relocation &rel,
57 void relaxTlsGdToIe(uint8_t *loc, const Relocation &rel, uint64_t val) const;
58 void relaxTlsGdToLe(uint8_t *loc, const Relocation &rel, uint64_t val) const;
59 void relaxTlsLdToLe(uint8_t *loc, const Relocation &rel, uint64_t val) const;
60 void relaxTlsIeToLe(uint8_t *loc, const Relocation &rel, uint64_t val) const;
317 void PPC::relocate(uint8_t *loc, const Relocation &rel, uint64_t val) const { in relocate() argument
319 std::tie(newType, val) = fromDTPREL(rel.type, val); in relocate()
322 checkIntUInt(loc, val, 16, rel); in relocate()
330 checkInt(loc, val, 16, rel); in relocate()
366 checkInt(loc, val, 16, rel); in relocate()
367 checkAlignment(loc, val, 4, rel); in relocate()
376 checkInt(loc, val, 26, rel); in relocate()
377 checkAlignment(loc, val, 4, rel); in relocate()
408 void PPC::relaxTlsGdToIe(uint8_t *loc, const Relocation &rel, in relaxTlsGdToIe() argument
410 switch (rel.type) { in relaxTlsGdToIe()
427 void PPC::relaxTlsGdToLe(uint8_t *loc, const Relocation &rel, in relaxTlsGdToLe() argument
429 switch (rel.type) { in relaxTlsGdToLe()
443 void PPC::relaxTlsLdToLe(uint8_t *loc, const Relocation &rel, in relaxTlsLdToLe() argument
445 switch (rel.type) { in relaxTlsLdToLe()
460 relocate(loc, rel, val); in relaxTlsLdToLe()
467 void PPC::relaxTlsIeToLe(uint8_t *loc, const Relocation &rel, in relaxTlsIeToLe() argument
469 switch (rel.type) { in relaxTlsIeToLe()
500 for (const Relocation &rel : sec.relocs()) { in relocateAlloc() local
501 uint8_t *loc = buf + rel.offset; in relocateAlloc()
503 sec.getRelocTargetVA(sec.file, rel.type, rel.addend, in relocateAlloc()
504 secAddr + rel.offset, *rel.sym, rel.expr), in relocateAlloc()
506 switch (rel.expr) { in relocateAlloc()
508 relaxTlsGdToIe(loc, rel, val); in relocateAlloc()
511 relaxTlsGdToLe(loc, rel, val); in relocateAlloc()
514 relaxTlsLdToLe(loc, rel, val); in relocateAlloc()
517 relaxTlsIeToLe(loc, rel, val); in relocateAlloc()
520 relocate(loc, rel, val); in relocateAlloc()