Lines Matching defs: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 {
319 std::tie(newType, val) = fromDTPREL(rel.type, val);
322 checkIntUInt(loc, val, 16, rel);
330 checkInt(loc, val, 16, rel);
366 checkInt(loc, val, 16, rel);
367 checkAlignment(loc, val, 4, rel);
376 checkInt(loc, val, 26, rel);
377 checkAlignment(loc, val, 4, rel);
408 void PPC::relaxTlsGdToIe(uint8_t *loc, const Relocation &rel,
410 switch (rel.type) {
427 void PPC::relaxTlsGdToLe(uint8_t *loc, const Relocation &rel,
429 switch (rel.type) {
443 void PPC::relaxTlsLdToLe(uint8_t *loc, const Relocation &rel,
445 switch (rel.type) {
460 relocate(loc, rel, val);
467 void PPC::relaxTlsIeToLe(uint8_t *loc, const Relocation &rel,
469 switch (rel.type) {
500 for (const Relocation &rel : sec.relocs()) {
501 uint8_t *loc = buf + rel.offset;
503 sec.getRelocTargetVA(sec.file, rel.type, rel.addend,
504 secAddr + rel.offset, *rel.sym, rel.expr),
506 switch (rel.expr) {
508 relaxTlsGdToIe(loc, rel, val);
511 relaxTlsGdToLe(loc, rel, val);
514 relaxTlsLdToLe(loc, rel, val);
517 relaxTlsIeToLe(loc, rel, val);
520 relocate(loc, rel, val);