[Git][ghc/ghc][master] rts: Support COFF BigObj files in archives.

Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC Commits: 01136779 by Andreas Klebinger at 2025-08-02T04:30:20-04:00 rts: Support COFF BigObj files in archives. - - - - - 1 changed file: - rts/linker/LoadArchive.c Changes: ===================================== rts/linker/LoadArchive.c ===================================== @@ -140,6 +140,10 @@ static enum ObjectFileFormat identifyObjectFile_(char* buf, size_t sz) if (sz > 4 && ((uint32_t*)buf)[0] == 0xfeedfacf) { return MachO64; } + // BigObj COFF files ... + if (sz > 8 && ((uint64_t*)buf)[0] == 0x86640002ffff0000) { + return COFFAmd64; + } return NotObject; } View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/01136779b1d4c1576c925ef673f55c81... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/01136779b1d4c1576c925ef673f55c81... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Marge Bot (@marge-bot)