Lines Matching refs:rel
42 void relocate(uint8_t *loc, const Relocation &rel,
47 void relaxGot(uint8_t *loc, const Relocation &rel, uint64_t val) const;
48 void relaxTlsGdToIe(uint8_t *loc, const Relocation &rel, uint64_t val) const;
49 void relaxTlsGdToLe(uint8_t *loc, const Relocation &rel, uint64_t val) const;
50 void relaxTlsLdToLe(uint8_t *loc, const Relocation &rel, uint64_t val) const;
305 void SystemZ::relaxTlsGdToIe(uint8_t *loc, const Relocation &rel, in relaxTlsGdToIe() argument
326 switch (rel.type) { in relaxTlsGdToIe()
340 void SystemZ::relaxTlsGdToLe(uint8_t *loc, const Relocation &rel, in relaxTlsGdToLe() argument
361 switch (rel.type) { in relaxTlsGdToLe()
375 void SystemZ::relaxTlsLdToLe(uint8_t *loc, const Relocation &rel, in relaxTlsLdToLe() argument
401 switch (rel.type) { in relaxTlsLdToLe()
445 for (Relocation &rel : sec->relocs()) { in relaxOnce()
446 if (rel.expr != R_RELAX_GOT_PC) in relaxOnce()
450 sec->file, rel.type, rel.addend, in relaxOnce()
451 sec->getOutputSection()->addr + rel.offset, *rel.sym, rel.expr); in relaxOnce()
454 if (rel.sym->auxIdx == 0) { in relaxOnce()
455 rel.sym->allocateAux(); in relaxOnce()
456 addGotEntry(*rel.sym); in relaxOnce()
459 rel.expr = R_GOT_PC; in relaxOnce()
466 void SystemZ::relaxGot(uint8_t *loc, const Relocation &rel, in relaxGot() argument
481 void SystemZ::relocate(uint8_t *loc, const Relocation &rel, in relocate() argument
483 switch (rel.expr) { in relocate()
485 return relaxGot(loc, rel, val); in relocate()
487 return relaxTlsGdToIe(loc, rel, val); in relocate()
489 return relaxTlsGdToLe(loc, rel, val); in relocate()
491 return relaxTlsLdToLe(loc, rel, val); in relocate()
495 switch (rel.type) { in relocate()
497 checkIntUInt(loc, val, 8, rel); in relocate()
504 checkUInt(loc, val, 12, rel); in relocate()
509 checkInt(loc, val, 13, rel); in relocate()
510 checkAlignment(loc, val, 2, rel); in relocate()
518 checkIntUInt(loc, val, 16, rel); in relocate()
522 checkInt(loc, val, 16, rel); in relocate()
527 checkInt(loc, val, 17, rel); in relocate()
528 checkAlignment(loc, val, 2, rel); in relocate()
535 checkInt(loc, val, 20, rel); in relocate()
541 checkInt(loc, val, 25, rel); in relocate()
542 checkAlignment(loc, val, 2, rel); in relocate()
558 checkIntUInt(loc, val, 32, rel); in relocate()
563 checkInt(loc, val, 32, rel); in relocate()
572 checkInt(loc, val, 33, rel); in relocate()
573 checkAlignment(loc, val, 2, rel); in relocate()