Andreas Klebinger pushed to branch wip/andreask/linker_fix at Glasgow Haskell Compiler / GHC

Commits:

1 changed file:

Changes:

  • rts/linker/LoadArchive.c
    ... ... @@ -552,9 +552,6 @@ HsInt loadArchive_ (pathchar *path)
    552 552
                     if (!readThinArchiveMember(n, memberSize, path, fileName, image)) {
    
    553 553
                         goto fail;
    
    554 554
                     }
    
    555
    -                // Unlike for regular archives for thin archives we can only identify the object format
    
    556
    -                // after having read the file pointed to.
    
    557
    -                object_fmt = identifyObjectFile_(image, memberSize);
    
    558 555
                 }
    
    559 556
                 else
    
    560 557
                 {