[commit: ghc] master: Linker: Fix cut-and-paste error in debug output (8bf2d8f)

git at git.haskell.org git at git.haskell.org
Sun Dec 27 00:42:25 UTC 2015


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/8bf2d8f6360a13b68a55ed29865c09c106665409/ghc

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

commit 8bf2d8f6360a13b68a55ed29865c09c106665409
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Sat Dec 26 12:55:12 2015 +0100

    Linker: Fix cut-and-paste error in debug output


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

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

diff --git a/rts/Linker.c b/rts/Linker.c
index a082ba7..9905d7d 100644
--- a/rts/Linker.c
+++ b/rts/Linker.c
@@ -3617,7 +3617,7 @@ ocGetNames_PEi386 ( ObjectCode* oc )
    sections = (Section*)stgCallocBytes(
        sizeof(Section),
        hdr->NumberOfSections + 1, /* +1 for the global BSS section see below */
-       "ocGetNames_ELF(sections)");
+       "ocGetNames_PEi386(sections)");
    oc->sections = sections;
    oc->n_sections = hdr->NumberOfSections + 1;
 



More information about the ghc-commits mailing list