Fix typo in section name: no leading period.
authorEdward Z. Yang <ezyang@cs.stanford.edu>
Fri, 3 Oct 2014 22:05:50 +0000 (15:05 -0700)
committerEdward Z. Yang <ezyang@cs.stanford.edu>
Fri, 3 Oct 2014 22:05:50 +0000 (15:05 -0700)
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
rts/Linker.c

index 97b64ea..e74d647 100644 (file)
@@ -4163,7 +4163,7 @@ 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("staticclosures",(char*)secname) ||
           0==strcmp(".bss",(char*)secname))
          kind = SECTIONKIND_RWDATA;
       if (0==strcmp(".ctors", (char*)secname))