Lines Matching defs: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;
304 void SystemZ::relaxTlsGdToIe(uint8_t *loc, const Relocation &rel,
325 switch (rel.type) {
339 void SystemZ::relaxTlsGdToLe(uint8_t *loc, const Relocation &rel,
360 switch (rel.type) {
374 void SystemZ::relaxTlsLdToLe(uint8_t *loc, const Relocation &rel,
400 switch (rel.type) {
444 for (Relocation &rel : sec->relocs()) {
445 if (rel.expr != R_RELAX_GOT_PC)
449 ctx, rel, sec->getOutputSection()->addr + rel.offset);
452 if (rel.sym->auxIdx == 0) {
453 rel.sym->allocateAux(ctx);
454 addGotEntry(ctx, *rel.sym);
457 rel.expr = R_GOT_PC;
464 void SystemZ::relaxGot(uint8_t *loc, const Relocation &rel,
479 void SystemZ::relocate(uint8_t *loc, const Relocation &rel,
481 switch (rel.expr) {
483 return relaxGot(loc, rel, val);
485 return relaxTlsGdToIe(loc, rel, val);
487 return relaxTlsGdToLe(loc, rel, val);
489 return relaxTlsLdToLe(loc, rel, val);
493 switch (rel.type) {
495 checkIntUInt(ctx, loc, val, 8, rel);
502 checkUInt(ctx, loc, val, 12, rel);
507 checkInt(ctx, loc, val, 13, rel);
508 checkAlignment(ctx, loc, val, 2, rel);
516 checkIntUInt(ctx, loc, val, 16, rel);
520 checkInt(ctx, loc, val, 16, rel);
525 checkInt(ctx, loc, val, 17, rel);
526 checkAlignment(ctx, loc, val, 2, rel);
533 checkInt(ctx, loc, val, 20, rel);
539 checkInt(ctx, loc, val, 25, rel);
540 checkAlignment(ctx, loc, val, 2, rel);
556 checkIntUInt(ctx, loc, val, 32, rel);
561 checkInt(ctx, loc, val, 32, rel);
570 checkInt(ctx, loc, val, 33, rel);
571 checkAlignment(ctx, loc, val, 2, rel);