[parisc-linux] (no subject)
Matthew Wilcox
willy@paer.debian.org
Tue, 19 Jun 2001 14:20:15 -0600
I've been trying to port guile today which includes qthreads.
The qthreads hppa support contains the following code:
bl $$dyncall,%mrp ; call $$dyncall (millicode function)
copy %mrp,%rp ; remember the return-pointer
our assembler doesn't recognise %mrp atm, but i guess HPUX's does. How
does the following patch look?
--- binutils-2.11.90.0.7/gas/config/tc-hppa.c.orig Wed Mar 28 10:58:26 2001
+++ binutils-2.11.90.0.7/gas/config/tc-hppa.c Tue Jun 19 14:09:08 2001
@@ -954,6 +954,11 @@
{"%isr", 20},
{"%itmr", 16},
{"%iva", 14},
+#if TARGET_ARCH_SIZE == 64
+ {"%mrp", 2},
+#else
+ {"%mrp", 31},
+#endif
{"%pcoq", 18},
{"%pcsq", 17},
{"%pidr1", 8},