diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-04-22 21:59:37 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-04-22 21:59:37 +0200 |
| commit | fd67024f82d42c261f11360372ca0b70cd836924 (patch) | |
| tree | ac1e65de19b5075100cdde78bfc6935a1ead63bc /Sources | |
| parent | 2c88913195efb6519d4e081e7cffb8fcd8b184c6 (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.cc | 2 |
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: " |
