Searched refs:addend (Results 1 - 25 of 83) sorted by relevance

1234

/freebsd-current/usr.sbin/kldxref/
H A Def_mips.c51 GElf_Addr addr, addend; local
60 addend = 0;
67 addend = rela->r_addend;
81 addend = le64dec(where);
83 addend = be64dec(where);
86 addend = le32dec(where);
88 addend = be32dec(where);
94 addr = EF_SYMADDR(ef, symidx) + addend;
101 addr = EF_SYMADDR(ef, symidx) + addend;
H A Def_amd64.c48 GElf_Addr addr, addend; local
57 addend = 0;
64 addend = rela->r_addend;
80 addend = le32dec(where);
83 addend = le64dec(where);
92 addr = EF_SYMADDR(ef, symidx) + addend;
96 addr = EF_SYMADDR(ef, symidx) + addend;
104 addr = relbase + addend;
H A Def_arm.c49 GElf_Addr addr, addend; local
58 addend = 0;
65 addend = rela->r_addend;
77 addend = le32dec(where);
81 addr = EF_SYMADDR(ef, symidx) + addend;
85 addr = relbase + addend;
H A Def_i386.c48 GElf_Addr addr, addend; local
57 addend = 0;
64 addend = rela->r_addend;
76 addend = le32dec(where);
80 addr = relbase + addend;
84 addr = EF_SYMADDR(ef, symidx) + addend;
H A Def_powerpc.c48 GElf_Addr addr, addend; local
56 addend = rela->r_addend;
69 addr = relbase + addend;
79 addr = EF_SYMADDR(ef, symidx) + addend;
83 addr = EF_SYMADDR(ef, symidx) + addend;
H A Def_riscv.c51 GElf_Addr addr, addend; local
59 addend = rela->r_addend;
72 addr = EF_SYMADDR(ef, symidx) + addend;
76 addr = relbase + addend;
H A Def_aarch64.c46 GElf_Addr addr, addend; local
54 addend = rela->r_addend;
67 addr = relbase + addend;
71 addr = EF_SYMADDR(ef, symidx) + addend;
/freebsd-current/stand/common/
H A Dreloc_elf.c54 Elf_Addr addend, addr; local
67 addend = 0;
72 addend = 0;
78 addend = rela->r_addend;
92 addend = *where;
109 addr = (Elf_Addr)addend + relbase;
121 val = addr + addend;
132 Elf_Addr addend, addr, *where, val;
142 addend = 0;
145 addend
[all...]
/freebsd-current/contrib/llvm-project/lld/MachO/
H A DWriter.h34 uint64_t offset, int64_t addend = 0);
H A DRelocations.h61 int64_t addend = 0; member in struct:lld::macho::Reloc
67 int64_t addend, llvm::PointerUnion<Symbol *, InputSection *> referent)
69 addend(addend), referent(referent) {}
66 Reloc(uint8_t type, bool pcrel, uint8_t length, uint32_t offset, int64_t addend, llvm::PointerUnion<Symbol *, InputSection *> referent) argument
H A DICF.cpp132 return sa == sb && ra.addend == rb.addend;
138 return da->value + ra.addend == db->value + rb.addend;
155 return ra.addend == rb.addend;
160 // don't do `getOffset(value + addend)` because value + addend may not be
163 ra.addend == rb.addend;
[all...]
H A DSyntheticSections.h174 int64_t addend; member in struct:lld::macho::BindingEntry
176 BindingEntry(int64_t addend, Location target) argument
177 : addend(addend), target(target) {}
193 int64_t addend = 0) {
194 bindingsMap[dysym].emplace_back(addend, Location(isec, offset));
224 int64_t addend = 0) {
225 bindingsMap[symbol].emplace_back(addend, Location(isec, offset));
702 // addend.
710 // a unique ordinal for each (symbol name, library, addend) impor
[all...]
/freebsd-current/contrib/llvm-project/lld/ELF/
H A DThunks.h31 Thunk(Symbol &destination, int64_t addend);
60 int64_t addend; member in class:lld::elf::Thunk
73 const InputFile *file, int64_t addend);
H A DThunks.cpp57 AArch64Thunk(Symbol &dest, int64_t addend) : Thunk(dest, addend) {} argument
69 AArch64ABSLongThunk(Symbol &dest, int64_t addend) argument
70 : AArch64Thunk(dest, addend) {}
80 AArch64ADRPThunk(Symbol &dest, int64_t addend) : AArch64Thunk(dest, addend) {} argument
98 ARMThunk(Symbol &dest, int64_t addend) : Thunk(dest, addend) {} argument
128 ThumbThunk(Symbol &dest, int64_t addend) : Thunk(dest, addend) { argument
153 ARMV7ABSLongThunk(Symbol &dest, int64_t addend) argument
162 ARMV7PILongThunk(Symbol &dest, int64_t addend) argument
171 ThumbV7ABSLongThunk(Symbol &dest, int64_t addend) argument
181 ThumbV7PILongThunk(Symbol &dest, int64_t addend) argument
191 ThumbV6MABSLongThunk(Symbol &dest, int64_t addend) argument
201 ThumbV6MABSXOLongThunk(Symbol &dest, int64_t addend) argument
211 ThumbV6MPILongThunk(Symbol &dest, int64_t addend) argument
229 ARMV5LongLdrPcThunk(Symbol &dest, int64_t addend) argument
240 ARMV4PILongBXThunk(Symbol &dest, int64_t addend) argument
249 ARMV4PILongThunk(Symbol &dest, int64_t addend) argument
258 ThumbV4PILongBXThunk(Symbol &dest, int64_t addend) argument
268 ThumbV4PILongThunk(Symbol &dest, int64_t addend) argument
278 ARMV4ABSLongBXThunk(Symbol &dest, int64_t addend) argument
287 ThumbV4ABSLongBXThunk(Symbol &dest, int64_t addend) argument
297 ThumbV4ABSLongThunk(Symbol &dest, int64_t addend) argument
309 AVRThunk(Symbol &dest, int64_t addend) argument
367 PPC32LongThunk(Symbol &dest, int64_t addend) argument
399 PPC64R2SaveStub(Symbol &dest, int64_t addend) argument
467 PPC64LongBranchThunk(Symbol &dest, int64_t addend) argument
472 PPC64PILongBranchThunk(Symbol &dest, int64_t addend) argument
487 PPC64PDLongBranchThunk(Symbol &dest, int64_t addend) argument
1035 writePPC32PltCallStub(uint8_t *buf, uint64_t gotPltVA, const InputFile *file, int64_t addend) argument
[all...]
H A DRelocations.cpp477 int64_t addend) const;
485 // R_MIPS_LO16 relocation after that, and an addend is calculated using
870 Symbol &sym, int64_t addend, RelExpr expr,
877 addend, type, expr);
880 // a reference to the symbol. Because of this, when we have an addend that
882 // (e.g. the addend is outside of [0, sym.getSize()]), the AArch64 MemtagABI
886 if (addend < 0 || static_cast<uint64_t>(addend) >= sym.getSize())
887 isec.relocations.push_back({expr, type, offsetInSec, addend, &sym});
895 // don't store the addend value
869 addRelativeReloc(InputSectionBase &isec, uint64_t offsetInSec, Symbol &sym, int64_t addend, RelExpr expr, RelType type) argument
1245 handleMipsTlsRelocation(RelType type, Symbol &sym, InputSectionBase &c, uint64_t offset, int64_t addend, RelExpr expr) argument
1268 handleTlsRelocation(RelType type, Symbol &sym, InputSectionBase &c, uint64_t offset, int64_t addend, RelExpr expr) argument
1416 int64_t addend = RelTy::IsRela local
[all...]
/freebsd-current/contrib/jemalloc/src/
H A Dnstime.c52 nstime_add(nstime_t *time, const nstime_t *addend) { argument
53 assert(UINT64_MAX - time->ns >= addend->ns);
55 time->ns += addend->ns;
59 nstime_iadd(nstime_t *time, uint64_t addend) { argument
60 assert(UINT64_MAX - time->ns >= addend);
62 time->ns += addend;
/freebsd-current/contrib/jemalloc/include/jemalloc/internal/
H A Dnstime.h20 void nstime_add(nstime_t *time, const nstime_t *addend);
21 void nstime_iadd(nstime_t *time, uint64_t addend);
/freebsd-current/sys/i386/i386/
H A Delf_machdep.c171 /* Process one elf relocation with addend. */
178 Elf_Addr addend; local
188 addend = *where;
195 addend = rela->r_addend;
205 addr = elf_relocaddr(lf, relocbase + addend);
220 addr += addend;
229 addr += addend - (Elf_Addr)where;
257 addr = relocbase + addend;
/freebsd-current/tests/sys/devrandom/
H A Duint128_test.c157 uint64_t addend; member in struct:u128_add64_tc
163 .addend = 1,
169 .addend = UINT32_MAX,
175 .addend = UINT64_MAX,
181 .addend = 0xf0123456789abcdeULL,
189 .addend = UINT64_MAX,
203 uint128_add64(&a, tests[i].addend);
/freebsd-current/sys/arm64/arm64/
H A Delf_machdep.c183 Elf_Addr *where, addr, addend, val; local
193 addend = *where;
200 addend = rela->r_addend;
217 *where = elf_relocaddr(lf, relocbase + addend);
231 addr + addend - (Elf_Addr)where, 15, 2);
238 addr + addend - (Elf_Addr)where, 20, 2);
246 addr + addend - (Elf_Addr)where, 27, 2);
254 *where = addr + addend;
257 addr = relocbase + addend;
279 /* Process one elf relocation with addend
[all...]
/freebsd-current/sys/powerpc/powerpc/
H A Delf32_machdep.c234 /* Process one elf relocation with addend. */
242 Elf_Addr addend, val; local
255 addend = rela->r_addend;
271 *where = elf_relocaddr(lf, addr + addend);
279 * addend values are sometimes relative to sections
283 if (addr > relocbase && addr <= (relocbase + addend))
285 addr = elf_relocaddr(lf, addr + addend);
294 * addend values are sometimes relative to sections
298 if (addr > relocbase && addr <= (relocbase + addend))
300 addr = elf_relocaddr(lf, addr + addend);
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldImpl.h128 /// Addend - the relocation addend encoded in the instruction itself. Also
153 RelocationEntry(unsigned id, uint64_t offset, uint32_t type, int64_t addend) argument
154 : SectionID(id), Offset(offset), RelType(type), Addend(addend),
157 RelocationEntry(unsigned id, uint64_t offset, uint32_t type, int64_t addend, argument
159 : SectionID(id), Offset(offset), RelType(type), Addend(addend),
163 RelocationEntry(unsigned id, uint64_t offset, uint32_t type, int64_t addend, argument
165 : SectionID(id), Offset(offset), RelType(type), Addend(addend),
168 RelocationEntry(unsigned id, uint64_t offset, uint32_t type, int64_t addend, argument
172 Addend(SectionAOffset - SectionBOffset + addend), IsPCRel(IsPCRel),
178 RelocationEntry(unsigned id, uint64_t offset, uint32_t type, int64_t addend, argument
[all...]
/freebsd-current/sys/amd64/amd64/
H A Delf_machdep.c274 /* Process one elf relocation with addend. */
282 Elf_Addr addend; local
299 addend = *(Elf32_Addr *)where;
302 addend = *where;
309 addend = rela->r_addend;
330 val = addr + addend;
342 val32 = (Elf32_Addr)(addr + addend - (Elf_Addr)where);
351 val32 = (Elf32_Addr)(addr + addend);
369 case R_X86_64_JMP_SLOT: /* XXX need addend + offset */
378 addr = elf_relocaddr(lf, relocbase + addend);
[all...]
/freebsd-current/sys/dev/axgbe/
H A Dxgbe-ptp.c138 u32 addend, diff; local
150 addend = (neg_adjust) ? pdata->tstamp_addend - diff :
155 pdata->hw_if.update_tstamp_addend(pdata, addend);
245 /* Calculate the addend:
246 * addend = 2^32 / (PTP ref clock / 50Mhz)
/freebsd-current/stand/ficl/
H A Dmath64.c496 DPUNS addend; local
498 addend.lo = y;
499 addend.hi = 0; /* No sign extension--arguments are unsigned */
505 result = m64Add(result, addend);
508 addend = m64ASL(addend);

Completed in 187 milliseconds

1234