[commit: ghc] master: Revert "Fix typo in section name: no leading period." (07da36b)

git at git.haskell.org git at git.haskell.org
Mon Oct 20 23:28:48 UTC 2014


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/07da36b586b52a9a9b5993b1d9cb66c852486f2b/ghc

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

commit 07da36b586b52a9a9b5993b1d9cb66c852486f2b
Author: Edward Z. Yang <ezyang at cs.stanford.edu>
Date:   Mon Oct 20 15:55:12 2014 -0700

    Revert "Fix typo in section name: no leading period."
    
    This reverts commit e8dac6dc60beea863c3a5daded68f5157ab546fb.


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

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

diff --git a/rts/Linker.c b/rts/Linker.c
index a34aeb7..5853795 100644
--- a/rts/Linker.c
+++ b/rts/Linker.c
@@ -4260,7 +4260,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