Lines Matching refs:relocation

35 // Processor-specific relocation types supported by the linker.
89 // List of known relocation types the relocator knows about.
98 // Convert an ELF relocation type info a RelocationType value.
378 // Emit initial relative relocation.
379 ELF::Rel relocation;
380 relocation.r_offset = start_address;
381 relocation.r_info = ELF_R_INFO(0, RELATIVE_RELOCATION_CODE);
384 if (!ApplyRelReloc(&relocation, sym_addr, resolved, error))
396 relocation.r_offset += delta;
397 if (!ApplyRelReloc(&relocation, sym_addr, resolved, error))
429 ELF::Rela relocation;
430 relocation.r_offset = offset;
431 relocation.r_info = ELF_R_INFO(0, RELATIVE_RELOCATION_CODE);
432 relocation.r_addend = addend;
433 if (!ApplyRelaReloc(&relocation, sym_addr, resolved, error))
484 // Apply the relocation.
516 *error = "Invalid relative relocation with symbol";
525 *error = "Invalid R_AARCH64_COPY relocation in shared library";
540 *error = "Invalid relative relocation with symbol";
556 error->Format("Invalid relocation type (%d)", rela_type);
574 // Apply the relocation.
611 *error = "Invalid relative relocation with symbol";
622 *error = "Invalid R_ARM_COPY relocation in shared library";
637 *error = "Invalid relative relocation with symbol";
662 error->Format("Invalid relocation type (%d)", rel_type);
702 // - Zero if the relocation type is absolute
703 // - The address of the place if the relocation is pc-relative
704 // - The address of nominal base address if the relocation
718 "Invalid weak relocation type (%d) for unknown symbol '%s'",
753 // If this is a symbolic relocation, compute the symbol's address.
803 // If this is a symbolic relocation, compute the symbol's address.