This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
gcc conformance to HP-PA ABI
- To: gcc at gcc dot gnu dot org
- Subject: gcc conformance to HP-PA ABI
- From: Olivier Hainque <hainque at inf dot enst dot fr>
- Date: Fri, 30 Jun 2000 16:50:40 +0200 (MET DST)
- Cc: hainque at inf dot enst dot fr
Hello,
I am currently investigating the possibility to use a hp library to unwind
stack frames. This library requires that the code respects some conventions
regarding how registers are used, where they are saved, ...
Using gcc 2.95.1 19990816 (release) on HP-UX 10.20, successful results are
only obtained when using the -fomit-frame-pointer option. Indeed, the
generated assembly for a simple test case shows that, when this option is
not provided, some SAVE_SP directives appear and sp is actually saved, but
not at the "conventional" place (if I understand correctly).
Is it normal ? Did I miss something ? In case no, are there other known
cases in which the hp conventions may not be followed ?
A positive answer to the last question would mean that it will be pretty
hard to be able to use the library reliably.
Thank you very much in advance,
Olivier