Andy,
Thanks for a great bit of detective work.
> I can see two solutions:
>
> 1. Leave it be and use the work around I originally
> suggested to handle
> procedure labels if they occur.
Ok, this sounds like the right short-term solution.
> 2. (Disgusting cludge) Let the evil mangler loose on the generated
> tables.
Arguably the right solution, since the extra indirections will probably
be significant cost-wise in terms of execution speed and code size. Or,
continuing the increasing order of complexity:
3. write a native code generator back-end for HP-PA.
:-)
> So, if the mangler replaced P%, LP% and RP% with F%, L% and R%
> respectively (' versions also), for all pointers that
> we going to
> ONLY
> "goto *" to we could completely discard the procedure
> label stuff.
There's a comment at the beginning of ghc/driver/mangler/ghc-asm.prl
which seems to relate to this. You might want to take a look.
Cheers,
Simon
_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs