Home
last modified time | relevance | path

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

/src/contrib/llvm-project/lld/ELF/Arch/
H A DSPARCV9.cpp94 write32be(loc, val); in relocate()
99 write32be(loc, val); in relocate()
105 write32be(loc, (read32be(loc) & ~0x3fffffff) | ((val >> 2) & 0x3fffffff)); in relocate()
110 write32be(loc, (read32be(loc) & ~0x003fffff) | (val & 0x003fffff)); in relocate()
116 write32be(loc, (read32be(loc) & ~0x003fffff) | ((val >> 10) & 0x003fffff)); in relocate()
121 write32be(loc, (read32be(loc) & ~0x003fffff) | ((val >> 10) & 0x003fffff)); in relocate()
126 write32be(loc, (read32be(loc) & ~0x0007ffff) | ((val >> 2) & 0x0007ffff)); in relocate()
131 write32be(loc, (read32be(loc) & ~0x000003ff) | (val & 0x000003ff)); in relocate()
135 write32be(loc, (read32be(loc) & ~0x00001fff) | (val & 0x000003ff)); in relocate()
145 write32be(loc, (read32be(loc) & ~0x003fffff) | ((val >> 42) & 0x003fffff)); in relocate()
[all …]
H A DSystemZ.cpp208 write32be(buf + 8, (got - plt - 6) >> 1); in writePltHeader()
230 write32be(buf + 2, (sym.getGotPltVA() - pltEntryAddr) >> 1); in writePlt()
231 write32be(buf + 24, (in.plt->getVA() - pltEntryAddr - 22) >> 1); in writePlt()
232 write32be(buf + 28, in.relaPlt->entsize * sym.getPltIdx()); in writePlt()
330 write32be(loc + 2, 0xc0000004); in relaxTlsGdToIe()
365 write32be(loc + 2, 0x00000000); in relaxTlsGdToLe()
405 write32be(loc + 2, 0x00000000); in relaxTlsLdToLe()
477 write32be(loc, val >> 1); in relaxGot()
536 write32be(loc, (read32be(loc) & 0xF00000FF) | ((val & 0xFFF) << 16) | in relocate()
559 write32be(loc, val); in relocate()
[all …]
/src/contrib/llvm-project/llvm/lib/ObjCopy/MachO/
H A DMachOWriter.cpp479 write32be(&SuperBlob->magic, MachO::CSMAGIC_EMBEDDED_SIGNATURE); in writeCodeSignatureData()
480 write32be(&SuperBlob->length, CodeSignature.Size); in writeCodeSignatureData()
481 write32be(&SuperBlob->count, 1); in writeCodeSignatureData()
483 write32be(&BlobIndex->type, MachO::CSSLOT_CODEDIRECTORY); in writeCodeSignatureData()
484 write32be(&BlobIndex->offset, CodeSignature.BlobHeadersSize); in writeCodeSignatureData()
487 write32be(&CodeDirectory->magic, MachO::CSMAGIC_CODEDIRECTORY); in writeCodeSignatureData()
488 write32be(&CodeDirectory->length, in writeCodeSignatureData()
490 write32be(&CodeDirectory->version, MachO::CS_SUPPORTSEXECSEG); in writeCodeSignatureData()
491 write32be(&CodeDirectory->flags, MachO::CS_ADHOC | MachO::CS_LINKER_SIGNED); in writeCodeSignatureData()
492 write32be(&CodeDirectory->hashOffset, in writeCodeSignatureData()
[all …]
/src/contrib/llvm-project/lld/MachO/
H A DSyntheticSections.cpp1604 write32be(&superBlob->magic, CSMAGIC_EMBEDDED_SIGNATURE); in writeTo()
1605 write32be(&superBlob->length, signatureSize); in writeTo()
1606 write32be(&superBlob->count, 1); in writeTo()
1608 write32be(&blobIndex->type, CSSLOT_CODEDIRECTORY); in writeTo()
1609 write32be(&blobIndex->offset, blobHeadersSize); in writeTo()
1612 write32be(&codeDirectory->magic, CSMAGIC_CODEDIRECTORY); in writeTo()
1613 write32be(&codeDirectory->length, signatureSize - blobHeadersSize); in writeTo()
1614 write32be(&codeDirectory->version, CS_SUPPORTSEXECSEG); in writeTo()
1615 write32be(&codeDirectory->flags, CS_ADHOC | CS_LINKER_SIGNED); in writeTo()
1616 write32be(&codeDirectory->hashOffset, in writeTo()
[all …]
/src/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
/src/contrib/llvm-project/llvm/lib/Target/BPF/MCTargetDesc/
H A DBPFAsmBackend.cpp98 support::endian::write32be(&Data[Fixup.getOffset() + 4], Value); in applyFixup()
/src/contrib/llvm-project/llvm/lib/MC/
H A DStringTableBuilder.cpp83 support::endian::write32be(Buf, Size); in write()
/src/contrib/llvm-project/lldb/source/Utility/
H A DDataEncoder.cpp73 write32be(m_data_sp->GetBytes() + offset, value); in PutU32()
/src/contrib/xz/src/liblzma/simple/
H A Driscv.c551 write32be(buffer + i + 4, addr); in riscv_encode()
/src/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A Daarch32.cpp487 endian::write32be(FixupPtr, Value); in applyFixupData()
497 endian::write32be(FixupPtr, Value); in applyFixupData()
509 endian::write32be(FixupPtr, MSB | (Value & ~0x80000000)); in applyFixupData()
/src/contrib/llvm-project/llvm/include/llvm/Support/
H A DEndian.h477 inline void write32be(void *P, uint32_t V) { in write32be() function
/src/contrib/llvm-project/lld/ELF/
H A DOutputSections.cpp504 write32be(buf + (size - sizeof(*chdr) - 4), compressed.checksum); in writeTo()
H A DScriptParser.cpp1078 write32be(buf.data(), (uint32_t)value); in readFill()
/src/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeAnalyzer.cpp932 support::endian::write32be(&RecordedHash[Pos], Val); in parseBlock()
/src/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DXCOFFEmitter.cpp856 support::endian::write32be(Ptr, Obj.StrTbl.Length ? *Obj.StrTbl.Length in writeStringTable()