summaryrefslogtreecommitdiffhomepage
path: root/Sources
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-04-22 21:59:37 +0200
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-04-22 21:59:37 +0200
commitfd67024f82d42c261f11360372ca0b70cd836924 (patch)
treeac1e65de19b5075100cdde78bfc6935a1ead63bc /Sources
parent2c88913195efb6519d4e081e7cffb8fcd8b184c6 (diff)
MHR-11: Specify CPU and sub CPU type inside container formats.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Sources')
-rw-r--r--Sources/link.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/Sources/link.cc b/Sources/link.cc
index 101e266..5027a9f 100644
--- a/Sources/link.cc
+++ b/Sources/link.cc
@@ -298,6 +298,8 @@ MPCC_MODULE(NewOSLinker) {
command_header.Offset = ae_records[ae_record_index].fOffset;
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.SubCpu = ae_header.fSubArch;
if (kVerbose)
kStdOut << "link: object record: "