This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gcc conformance to HP-PA ABI


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

 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]