X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2FLinker.c;h=70aae3b0f9cbb26d9278110017b45c40cf2ac36b;hb=104b00d80891ff1010905df517a9b9c465078c31;hp=fd5c158cce5a94b3d5cf08b03b3fd77bfd9780b7;hpb=13d064aec161f478a630c693433bfc091f5e140e;p=ghc-hetmet.git diff --git a/rts/Linker.c b/rts/Linker.c index fd5c158..70aae3b 100644 --- a/rts/Linker.c +++ b/rts/Linker.c @@ -40,6 +40,7 @@ #include #endif +#include #include #include #include @@ -4652,8 +4653,8 @@ static int relocateSection( } IF_DEBUG(linker, - debugBelch("relocateSection: length = %d, thing = %d, baseValue = %p\n", - reloc->r_length, thing, baseValue)); + debugBelch("relocateSection: length = %d, thing = %" PRId64 ", baseValue = %p\n", + reloc->r_length, thing, (char *)baseValue)); if (type == X86_64_RELOC_GOT || type == X86_64_RELOC_GOT_LOAD)