[parisc-linux] libqthreads and hppa-linux

Alan Modra amodra@bigpond.net.au
Thu, 2 Aug 2001 14:30:08 +0930


On Wed, Aug 01, 2001 at 10:44:00PM -0600, LaMont Jones wrote:
> > On Wed, Aug 01, 2001 at 10:04:34PM -0600, LaMont Jones wrote:
> > > I started to play with getting the hppa assembly code in guile-core to work
> > > on pa-linux, but ran into challenges with %farg[0-3], which aren't defined
> > > by the assembler...
> > So fix the assembler!  gas/config/tc-hppa.c:pre_defined_registers
> 
> Dunno which regs they are, and don't have a current runtime arch doc at
> home.
> 
> How close is the calling convention between hp-ux and pa-linux?

Practically identical.  farg0..3 is fr4..7 from memory, and I think they
are in that order.  Test it out by writing a little C code, and
compiling with -S.