Chris,
> That's an easy problem. I just implemented __builtin_return_address
> on PPC, at least builtin_return_address(0), please let me know if that
> is sufficient.
There are bunch of another builtins required for eh to execute properly.
The 3 most important one are:
- eh_return
- unwind_init
- dwarf_cfa
The first two precisely match to the gcc's ones, the third - slightly
differs, because is catches some extra information from the frontend.
--
With best regards, Anton Korobeynikov.
Faculty of Mathematics & Mechanics, Saint Petersburg State University.