[commit: ghc] wip/new-flatten-skolems-Aug14: Fix typo in section name: no leading period. (39a3adf6)

git at git.haskell.org git at git.haskell.org
Thu Oct 9 07:38:29 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/new-flatten-skolems-Aug14
Link       : http://ghc.haskell.org/trac/ghc/changeset/39a3adf6fe6ebcf49c685f7ee3de92a1348280f8/ghc

>---------------------------------------------------------------

commit 39a3adf6fe6ebcf49c685f7ee3de92a1348280f8
Author: Edward Z. Yang <ezyang at cs.stanford.edu>
Date:   Fri Oct 3 15:05:50 2014 -0700

    Fix typo in section name: no leading period.
    
    Signed-off-by: Edward Z. Yang <ezyang at cs.stanford.edu>


>---------------------------------------------------------------

39a3adf6fe6ebcf49c685f7ee3de92a1348280f8
 rts/Linker.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rts/Linker.c b/rts/Linker.c
index 97b64ea..e74d647 100644
--- a/rts/Linker.c
+++ b/rts/Linker.c
@@ -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))



More information about the ghc-commits mailing list