Revert "Check for staticclosures section in Windows linker."
authorEdward Z. Yang <ezyang@cs.stanford.edu>
Mon, 20 Oct 2014 22:55:29 +0000 (15:55 -0700)
committerEdward Z. Yang <ezyang@cs.stanford.edu>
Mon, 20 Oct 2014 23:28:42 +0000 (16:28 -0700)
This reverts commit 2fc0c6cf594731f343b4f8a5b3ecf9e72db4c3c0.

rts/Linker.c

index 5853795..aa44330 100644 (file)
@@ -4260,7 +4260,6 @@ ocGetNames_PEi386 ( ObjectCode* oc )
           0==strcmp(".rodata",(char*)secname))
          kind = SECTIONKIND_CODE_OR_RODATA;
       if (0==strcmp(".data",(char*)secname) ||
-          0==strcmp(".staticclosures",(char*)secname) ||
           0==strcmp(".bss",(char*)secname))
          kind = SECTIONKIND_RWDATA;
       if (0==strcmp(".ctors", (char*)secname))