Searched refs:rel (Results 26 - 50 of 118) sorted by relevance

12345

/freebsd-13-stable/contrib/llvm-project/lld/ELF/Arch/
H A DARM.cpp45 void relocate(uint8_t *loc, const Relocation &rel,
469 void ARM::relocate(uint8_t *loc, const Relocation &rel, uint64_t val) const {
470 switch (rel.type) {
491 checkInt(loc, val, 31, rel);
500 assert(rel.sym); // R_ARM_CALL is always reached via relocate().
505 if (!rel.sym->isFunc() && isBlx != bit0Thumb)
506 stateChangeWarning(loc, rel.type, *rel.sym);
507 if (rel.sym->isFunc() ? bit0Thumb : isBlx) {
509 checkInt(loc, val, 26, rel);
[all...]
H A DRISCV.cpp35 void relocate(uint8_t *loc, const Relocation &rel,
261 void RISCV::relocate(uint8_t *loc, const Relocation &rel, uint64_t val) const { argument
264 switch (rel.type) {
273 checkInt(loc, static_cast<int64_t>(val) >> 1, 8, rel);
274 checkAlignment(loc, val, 2, rel);
288 checkInt(loc, static_cast<int64_t>(val) >> 1, 11, rel);
289 checkAlignment(loc, val, 2, rel);
307 checkInt(loc, imm, 6, rel);
319 checkInt(loc, static_cast<int64_t>(val) >> 1, 20, rel);
320 checkAlignment(loc, val, 2, rel);
[all...]
H A DX86.cpp37 void relocate(uint8_t *loc, const Relocation &rel,
42 void relaxTlsGdToIe(uint8_t *loc, const Relocation &rel,
44 void relaxTlsGdToLe(uint8_t *loc, const Relocation &rel,
46 void relaxTlsIeToLe(uint8_t *loc, const Relocation &rel,
48 void relaxTlsLdToLe(uint8_t *loc, const Relocation &rel,
269 void X86::relocate(uint8_t *loc, const Relocation &rel, uint64_t val) const { argument
270 switch (rel.type) {
275 checkIntUInt(loc, val, 8, rel);
279 checkInt(loc, val, 8, rel);
283 checkIntUInt(loc, val, 16, rel);
359 relaxTlsIeToLe(uint8_t *loc, const Relocation &rel, uint64_t val) const argument
397 relaxTlsLdToLe(uint8_t *loc, const Relocation &rel, uint64_t val) const argument
[all...]
H A DMips.cpp40 void relocate(uint8_t *loc, const Relocation &rel,
541 void MIPS<ELFT>::relocate(uint8_t *loc, const Relocation &rel, argument
544 RelType type = rel.type;
583 checkInt(loc, val, 16, rel);
591 checkInt(loc, val, 16, rel);
602 checkInt(loc, val, 16, rel);
616 checkInt(loc, val, 16, rel);
628 checkInt(loc, val, 7, rel);
671 checkAlignment(loc, val, 4, rel);
672 checkInt(loc, val, 18, rel);
[all...]
H A DX86_64.cpp38 void relocate(uint8_t *loc, const Relocation &rel,
45 void relaxGot(uint8_t *loc, const Relocation &rel,
47 void relaxTlsGdToIe(uint8_t *loc, const Relocation &rel,
49 void relaxTlsGdToLe(uint8_t *loc, const Relocation &rel,
51 void relaxTlsIeToLe(uint8_t *loc, const Relocation &rel,
53 void relaxTlsLdToLe(uint8_t *loc, const Relocation &rel,
415 void X86_64::relaxTlsGdToLe(uint8_t *loc, const Relocation &rel, argument
417 if (rel.type == R_X86_64_TLSGD) {
440 assert(rel.type == R_X86_64_GOTPC32_TLSDESC);
456 void X86_64::relaxTlsGdToIe(uint8_t *loc, const Relocation &rel, argument
540 relaxTlsLdToLe(uint8_t *loc, const Relocation &rel, uint64_t val) const argument
677 relocate(uint8_t *loc, const Relocation &rel, uint64_t val) const argument
[all...]
H A DHexagon.cpp33 void relocate(uint8_t *loc, const Relocation &rel,
242 void Hexagon::relocate(uint8_t *loc, const Relocation &rel, argument
244 switch (rel.type) {
298 checkInt(loc, val, 11, rel);
305 checkInt(loc, val, 15, rel);
309 checkInt(loc, val, 17, rel);
318 checkInt(loc, val, 22, rel);
/freebsd-13-stable/contrib/llvm-project/lld/MachO/
H A DInputFiles.cpp177 auto rel = reinterpret_cast<const relocation_info &>(anyRel); local
180 r.type = rel.r_type;
181 r.pcrel = rel.r_pcrel;
182 r.length = rel.r_length;
183 uint64_t rawAddend = target->getImplicitAddend(mb, sec, rel);
185 if (rel.r_extern) {
186 r.target = symbols[rel.r_symbolnum];
189 if (rel.r_symbolnum == 0 || rel.r_symbolnum > subsections.size())
194 SubsectionMap &targetSubsecMap = subsections[rel
[all...]
/freebsd-13-stable/contrib/llvm-project/lld/ELF/
H A DRelocations.h156 std::pair<Thunk *, bool> getThunk(InputSection *isec, Relocation &rel,
162 bool normalizeExistingThunk(Relocation &rel, uint64_t src);
190 static inline int64_t getAddend(const typename ELFT::Rel &rel) { argument
194 static inline int64_t getAddend(const typename ELFT::Rela &rel) { argument
195 return rel.r_addend;
H A DTarget.cpp158 void TargetInfo::relaxGot(uint8_t *loc, const Relocation &rel, argument
163 void TargetInfo::relaxTlsGdToLe(uint8_t *loc, const Relocation &rel, argument
168 void TargetInfo::relaxTlsGdToIe(uint8_t *loc, const Relocation &rel, argument
173 void TargetInfo::relaxTlsIeToLe(uint8_t *loc, const Relocation &rel, argument
178 void TargetInfo::relaxTlsLdToLe(uint8_t *loc, const Relocation &rel, argument
H A DARMErrataFix.cpp238 Relocation *rel; member in struct:ScanResult
281 scanRes.rel = &(*relIt);
282 if (branchDestInFirstRegion(isec, branchOff, instr2, scanRes.rel)) {
422 if (sr.rel) {
429 int64_t patchRelAddend = sr.rel->addend;
435 uint64_t dstSymAddr = (sr.rel->expr == R_PLT_PC) ? sr.rel->sym->getPltVA()
436 : sr.rel->sym->getVA();
447 Relocation{sr.rel->expr, patchRelType, 0, patchRelAddend, sr.rel
[all...]
H A DThunks.cpp81 const Relocation &rel) const override;
111 const Relocation &rel) const override;
175 const Relocation &rel) const override;
186 const Relocation &rel) const override;
245 PPC32PltCallStub(const InputSection &isec, const Relocation &rel, argument
247 : Thunk(dest, rel.addend), file(isec.file) {}
251 bool isCompatibleWith(const InputSection &isec, const Relocation &rel) const override;
442 const Relocation &rel) const {
444 return rel.type != R_ARM_THM_JUMP19 && rel
966 addThunkPPC32(const InputSection &isec, const Relocation &rel, Symbol &s) argument
993 addThunk(const InputSection &isec, Relocation &rel) argument
[all...]
H A DDWARF.cpp108 const RelTy &rel = *it; local
111 uint32_t symIndex = rel.getSymbol(config->isMips64EL);
119 Symbol &s = file->getRelocTargetSym(rel);
125 d.p = getAddend<ELFT>(rel);
/freebsd-13-stable/contrib/elftoolchain/libdwarf/
H A Dlibdwarf_elf_init.c57 GElf_Rel rel; local
65 while (gelf_getrel(rel_data, j++, &rel) != NULL) {
66 symndx = GELF_R_SYM(rel.r_info);
67 type = GELF_R_TYPE(rel.r_info);
76 offset = rel.r_offset;
85 offset = rel.r_offset;
137 Elf_Data *rel; local
161 if ((rel = elf_getdata(scn, NULL)) == NULL) {
181 rel, symtab_data, eh.e_ident[EI_DATA]);
185 rel, symtab_dat
[all...]
/freebsd-13-stable/contrib/llvm-project/lld/COFF/
H A DChunks.cpp319 const coff_relocation &rel) {
335 check(file->getCOFFObj()->getSymbol(rel.SymbolTableIndex));
340 getSymbolLocations(file, rel.SymbolTableIndex);
361 const coff_relocation &rel = relocsData[i]; local
367 if (rel.VirtualAddress >= inputSize) {
372 uint8_t *off = buf + rel.VirtualAddress;
375 dyn_cast_or_null<Defined>(file->getSymbol(rel.SymbolTableIndex));
389 maybeReportRelocationToDiscarded(this, sym, rel);
396 uint64_t p = rva + rel.VirtualAddress;
399 applyRelX64(off, rel
317 maybeReportRelocationToDiscarded(const SectionChunk *fromChunk, Defined *sym, const coff_relocation &rel) argument
424 getBaserelType(const coff_relocation &rel) argument
455 const coff_relocation &rel = relocsData[i]; local
[all...]
/freebsd-13-stable/usr.bin/rpcgen/
H A Drpc_parse.c414 defp->def.ty.rel = dec.rel;
424 dec->rel = REL_ALIAS;
432 dec->rel = REL_POINTER;
437 if (dec->rel == REL_POINTER) {
440 dec->rel = REL_VECTOR;
445 if (dec->rel == REL_POINTER) {
448 dec->rel = REL_ARRAY;
458 if (dec->rel != REL_ARRAY && dec->rel !
[all...]
H A Drpc_parse.h92 relation rel; member in struct:typedef_def
113 relation rel; member in struct:declaration
/freebsd-13-stable/sys/mips/nlm/dev/net/ucore/
H A Dld.ucore.S59 .rel.sdata : {
61 *(.rel.sdata)
/freebsd-13-stable/contrib/subversion/subversion/libsvn_delta/
H A Dpath_driver.c276 const char *rel = state->last_path + (common_len ? (common_len + 1) : 0);
277 int count = count_components(rel);
294 const char *rel = pdir;
302 rel = apr_pstrmemdup(scratch_pool, pdir, piece - pdir);
305 SVN_ERR(open_dir(state->db_stack, state->editor, rel, state->pool));
274 const char *rel = state->last_path + (common_len ? (common_len + 1) : 0); local
292 const char *rel = pdir; local
/freebsd-13-stable/sys/contrib/openzfs/cmd/zinject/
H A Dtranslate.c88 const char *rel; local
120 rel = fullpath + strlen(mp.mnt_mountp);
121 if (rel[0] == '/')
122 rel++;
123 (void) strcpy(relpath, rel);
/freebsd-13-stable/sys/i386/i386/
H A Delf_machdep.c177 const Elf_Rel *rel; local
183 rel = (const Elf_Rel *)data;
184 where = (Elf_Addr *) (relocbase + rel->r_offset);
186 rtype = ELF_R_TYPE(rel->r_info);
187 symidx = ELF_R_SYM(rel->r_info);
/freebsd-13-stable/sys/arm/arm/
H A Delf_machdep.c198 const Elf_Rel *rel; local
204 rel = (const Elf_Rel *)data;
205 where = (Elf_Addr *) (relocbase + rel->r_offset);
207 rtype = ELF_R_TYPE(rel->r_info);
208 symidx = ELF_R_SYM(rel->r_info);
/freebsd-13-stable/sys/arm64/arm64/
H A Delf_machdep.c152 const Elf_Rel *rel; local
158 rel = (const Elf_Rel *)data;
159 where = (Elf_Addr *) (relocbase + rel->r_offset);
161 rtype = ELF_R_TYPE(rel->r_info);
162 symidx = ELF_R_SYM(rel->r_info);
/freebsd-13-stable/sys/powerpc/mpc85xx/
H A Dplatform_mpc85xx.c334 volatile struct cpu_release *rel; local
356 rel = (struct cpu_release *)rel_va;
359 cpu_flush_dcache(__DEVOLATILE(struct cpu_release *,rel), sizeof(*rel));
360 rel->pir = pc->pc_cpuid; __asm __volatile("sync" ::: "memory");
361 rel->entry_h = (bptr >> 32); __asm __volatile("sync" ::: "memory");
362 cpu_flush_dcache(__DEVOLATILE(struct cpu_release *,rel), sizeof(*rel));
363 rel->entry_l = bptr & 0xffffffff; __asm __volatile("sync" ::: "memory");
364 cpu_flush_dcache(__DEVOLATILE(struct cpu_release *,rel), sizeo
[all...]
/freebsd-13-stable/crypto/openssl/crypto/bn/asm/
H A Dia64-mont.pl175 .pred.rel "mutex",p40,p42
196 { .mmi; .pred.rel "mutex",p40,p42
200 { .mmi; .pred.rel "mutex",p40,p42
204 { .mmi; .pred.rel "mutex",p39,p41
252 .pred.rel "mutex",p40,p42
253 .pred.rel "mutex",p30,p32
284 { .mmi; .pred.rel "mutex",p31,p33
288 { .mfi; .pred.rel "mutex",p31,p33
292 { .mfi; .pred.rel "mutex",p40,p42
296 { .mmi; .pred.rel "mute
[all...]
/freebsd-13-stable/contrib/bc/
H A Dlocale_install.sh243 rel=$(relpath "$linksrc" "$relloc")
249 ln -fs "$rel" "$loc"

Completed in 142 milliseconds

12345