Home
last modified time | relevance | path

Searched refs:write32be (Results 1 – 15 of 15) sorted by relevance

/freebsd/contrib/llvm-project/lld/ELF/Arch/
H A DSPARCV9.cpp93 write32be(loc, val); in relocate()
98 write32be(loc, val); in relocate()
104 write32be(loc, (read32be(loc) & ~0x3fffffff) | ((val >> 2) & 0x3fffffff)); in relocate()
109 write32be(loc, (read32be(loc) & ~0x003fffff) | (val & 0x003fffff)); in relocate()
115 write32be(loc, (read32be(loc) & ~0x003fffff) | ((val >> 10) & 0x003fffff)); in relocate()
120 write32be(loc, (read32be(loc) & ~0x003fffff) | ((val >> 10) & 0x003fffff)); in relocate()
125 write32be(loc, (read32be(loc) & ~0x0007ffff) | ((val >> 2) & 0x0007ffff)); in relocate()
130 write32be(loc, (read32be(loc) & ~0x000003ff) | (val & 0x000003ff)); in relocate()
134 write32be(loc, (read32be(loc) & ~0x00001fff) | (val & 0x000003ff)); in relocate()
144 write32be(loc, (read32be(loc) & ~0x003fffff) | ((val >> 42) & 0x003fffff)); in relocate()
[all …]
H A DSystemZ.cpp207 write32be(buf + 8, (got - plt - 6) >> 1); in writePltHeader()
229 write32be(buf + 2, (sym.getGotPltVA(ctx) - pltEntryAddr) >> 1); in writePlt()
230 write32be(buf + 24, (ctx.in.plt->getVA() - pltEntryAddr - 22) >> 1); in writePlt()
231 write32be(buf + 28, ctx.in.relaPlt->entsize * sym.getPltIdx(ctx)); in writePlt()
328 write32be(loc + 2, 0xc0000004); in relaxTlsGdToIe()
363 write32be(loc + 2, 0x00000000); in relaxTlsGdToLe()
403 write32be(loc + 2, 0x00000000); in relaxTlsLdToLe()
474 write32be(loc, val >> 1); in relaxGot()
533 write32be(loc, (read32be(loc) & 0xF00000FF) | ((val & 0xFFF) << 16) | in relocate()
556 write32be(loc, val); in relocate()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/MachO/
H A DMachOWriter.cpp478 write32be(&SuperBlob->magic, MachO::CSMAGIC_EMBEDDED_SIGNATURE); in writeCodeSignatureData()
479 write32be(&SuperBlob->length, CodeSignature.Size); in writeCodeSignatureData()
480 write32be(&SuperBlob->count, 1); in writeCodeSignatureData()
482 write32be(&BlobIndex->type, MachO::CSSLOT_CODEDIRECTORY); in writeCodeSignatureData()
483 write32be(&BlobIndex->offset, CodeSignature.BlobHeadersSize); in writeCodeSignatureData()
486 write32be(&CodeDirectory->magic, MachO::CSMAGIC_CODEDIRECTORY); in writeCodeSignatureData()
487 write32be(&CodeDirectory->length, in writeCodeSignatureData()
489 write32be(&CodeDirectory->version, MachO::CS_SUPPORTSEXECSEG); in writeCodeSignatureData()
490 write32be(&CodeDirectory->flags, MachO::CS_ADHOC | MachO::CS_LINKER_SIGNED); in writeCodeSignatureData()
491 write32be(&CodeDirectory->hashOffset, in writeCodeSignatureData()
[all …]
/freebsd/contrib/llvm-project/lld/MachO/
H A DSyntheticSections.cpp1628 write32be(&superBlob->magic, CSMAGIC_EMBEDDED_SIGNATURE); in writeTo()
1629 write32be(&superBlob->length, signatureSize); in writeTo()
1630 write32be(&superBlob->count, 1); in writeTo()
1632 write32be(&blobIndex->type, CSSLOT_CODEDIRECTORY); in writeTo()
1633 write32be(&blobIndex->offset, blobHeadersSize); in writeTo()
1636 write32be(&codeDirectory->magic, CSMAGIC_CODEDIRECTORY); in writeTo()
1637 write32be(&codeDirectory->length, signatureSize - blobHeadersSize); in writeTo()
1638 write32be(&codeDirectory->version, CS_SUPPORTSEXECSEG); in writeTo()
1639 write32be(&codeDirectory->flags, CS_ADHOC | CS_LINKER_SIGNED); in writeTo()
1640 write32be(&codeDirectory->hashOffset, in writeTo()
[all …]
/freebsd/contrib/xz/src/common/
H A Dtuklib_integer.h456 #define write32be(buf, num) write32ne(buf, conv32be(num)) macro
469 # define write32ne write32be
568 write32be(uint8_t *buf, uint32_t num) in write32be() function
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/MCTargetDesc/
H A DBPFAsmBackend.cpp91 support::endian::write32be(&Data[Fixup.getOffset() + 4], Value); in applyFixup()
/freebsd/contrib/xz/src/liblzma/simple/
H A Driscv.c551 write32be(buffer + i + 4, addr); in riscv_encode()
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DDataEncoder.cpp73 write32be(m_data_sp->GetBytes() + offset, value); in PutU32()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DStringTableBuilder.cpp83 support::endian::write32be(Buf, Size); in write()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A Daarch32.cpp485 endian::write32be(FixupPtr, Value); in applyFixupData()
495 endian::write32be(FixupPtr, Value); in applyFixupData()
507 endian::write32be(FixupPtr, MSB | (Value & ~0x80000000)); in applyFixupData()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DEndian.h481 inline void write32be(void *P, uint32_t V) { in write32be() function
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeAnalyzer.cpp935 support::endian::write32be(&RecordedHash[Pos], Val); in parseBlock()
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DXCOFFEmitter.cpp857 support::endian::write32be(Ptr, Obj.StrTbl.Length ? *Obj.StrTbl.Length in writeStringTable()
/freebsd/contrib/llvm-project/lld/ELF/
H A DOutputSections.cpp521 write32be(buf + (size - sizeof(*chdr) - 4), compressed.checksum); in writeTo()
H A DScriptParser.cpp1117 write32be(buf.data(), (uint32_t)value); in readFill()