On 26.01.2016 10:41, Andreas Schwab wrote:
> Except on ppc64le, until someone came along and changed the lie to a
> different lie.  So why not lie a little different still, given you know
> you have crap code?
Before the ppc64le problem was fixed, there actually were two lies,
which was reduced to just one lie: The first lie concerned the parameter
list (claiming it would be empty) and the second lie concerned the
return type (claiming it would be some function pointer). The first lie
was removed, by changing the parameter list to be "unknown, but a fixed
number of parameter", so only the return value lie is left.
The semantic ghc needs at that point is "this is the name of a symbol of
unspecified type residing in the text segment". If you can suggest a way
that lies less than a function declaration with an unspecified parameter
list (and some invented return type), I expect ghc develepors to happily
use it.

Regards,
  Michael Karcher

Reply via email to