Simon Marlow schrieb:
> The only reason we keep the .size directives around at all is because
> certain tools (like Valgind for example) don't work without .size
> information. GHC itself, including our dynamic linker, works fine
> without it.
>
> I can't tell exactly what has gone wrong in this particular instance -
> you'll need to compile the offending module with -keep-raw-s-file
> -keep-s-file and inspect those .size directives.
At the end of PrimOps.raw_s there (probably correctly) is:
.globl GHC_ZCCReturnable_static_info
.align 4
.type GHC_ZCCReturnable_static_info, @object
.size GHC_ZCCReturnable_static_info, 4
GHC_ZCCReturnable_static_info:
.zero 4
All ".text" blocks are followed by "p2align 2,,3" and typically look like:
.string "delayzh_fast"
.text
.p2align 2,,3
In PrimOps.s it looks (wrongly mangled?) like this:
.text
.align 4
.type GHC_ZCCReturnable_static_info, @object
.size GHC_ZCCReturnable_static_info, 4
.zero 4
.globl GHC_ZCCReturnable_static_info
GHC_ZCCReturnable_static_info:
Files are attached under
http://hackage.haskell.org/trac/ghc/ticket/1421
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs