From fb12b9730d78052f5cafbd84fbc9a830a22cec17 Mon Sep 17 00:00:00 2001 From: Amlal Date: Thu, 1 May 2025 08:50:44 +0200 Subject: dev, LibCompiler: format codebase. Signed-off-by: Amlal --- dev/LibCompiler/src/DynamicLinkerPEF.cc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'dev/LibCompiler/src/DynamicLinkerPEF.cc') diff --git a/dev/LibCompiler/src/DynamicLinkerPEF.cc b/dev/LibCompiler/src/DynamicLinkerPEF.cc index 0def365..1b2418f 100644 --- a/dev/LibCompiler/src/DynamicLinkerPEF.cc +++ b/dev/LibCompiler/src/DynamicLinkerPEF.cc @@ -233,8 +233,8 @@ LIBCOMPILER_MODULE(DynamicLinker64PEF) { pef_container.Version = kPefVersion; // specify the start address, can be 0x10000 - pef_container.Start = kLinkerDefaultOrigin; - pef_container.HdrSz = sizeof(LibCompiler::PEFContainer); + pef_container.Start = kLinkerDefaultOrigin; + pef_container.HdrSz = sizeof(LibCompiler::PEFContainer); pef_container.Checksum = 0UL; std::ofstream output_fc(kOutput, std::ofstream::binary); @@ -331,12 +331,12 @@ LIBCOMPILER_MODULE(DynamicLinker64PEF) { } ld_mark_header: - command_header.Offset = offset_of_obj; - command_header.Kind = ae_records[ae_record_index].fKind; - command_header.Size = ae_records[ae_record_index].fSize; - command_header.Cpu = ae_header.fArch; - command_header.VMAddress = org; /// TODO: - command_header.SubCpu = ae_header.fSubArch; + command_header.Offset = offset_of_obj; + command_header.Kind = ae_records[ae_record_index].fKind; + command_header.Size = ae_records[ae_record_index].fSize; + command_header.Cpu = ae_header.fArch; + command_header.VMAddress = org; /// TODO: + command_header.SubCpu = ae_header.fSubArch; org += command_header.Size; @@ -560,7 +560,7 @@ LIBCOMPILER_MODULE(DynamicLinker64PEF) { MemoryCopy(end_exec_hdr.Name, "Container:Exec:END", strlen("Container:Exec:END")); - end_exec_hdr.Size = strlen(end_exec_hdr.Name); + end_exec_hdr.Size = strlen(end_exec_hdr.Name); command_headers.push_back(end_exec_hdr); -- cgit v1.2.3