HP-PA ABI issues - framepointer handling

Robert Dewar dewar@gnat.com
Thu Oct 19 07:12:00 GMT 2000


<<I can't comment from an HP-UX standpoint, but from MPE's perspective,
the problem for us is that the setjmp/sigsetjmp/longjmp code for some
inexplicable reason, does not preserve SR4 and each shared library
on MPE is loaded into its own space. I've written a setjmp workalike
for MPE that preserves SR4 and thus makes exceptions across libraries
work. I can make this available to you if you want to try to hack it
for HP-UX.
>>

Of course if the "lame HP unwinder" could be used, we would not need to
be using the relatively inefficient setjmp/longjmp approach for handling
exceptions on HP. Indeed our Ada interest in this is both to get an
accurate traceback for heterogenous (gcc and non-gcc mixed) code, and
also to implement efficient exception handling in such environments.


More information about the Gcc mailing list