Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC

Commits:

1 changed file:

Changes:

  • rts/linker/LoadArchive.c
    ... ... @@ -592,6 +592,9 @@ HsInt loadArchive_ (pathchar *path)
    592 592
                     if (!readThinArchiveMember(n, memberSize, path, fileName, image)) {
    
    593 593
                         goto fail;
    
    594 594
                     }
    
    595
    +                // Unlike for regular archives for thin archives we can only identify the object format
    
    596
    +                // after having read the file pointed to.
    
    597
    +                object_fmt = identifyObjectFile_(image, memberSize);
    
    595 598
                 }
    
    596 599
                 else
    
    597 600
                 {