aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/config/pa/milli64.S4
2 files changed, 5 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7353581..54c7a97 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,8 @@
Fri Nov 9 11:27:42 2001 Jeffrey A Law (law@cygnus.com)
+ * config/pa/milli64.S: Use %r25 and %r0 instead of arg1 and r0
+ to work around limitations of certain versions of GAS.
+
* pa.md (mulsi3): Remove PA64 hack to work around SUBREG issues.
(muldi3): Update due to SUBREG_BYTE changes.
(casesi): Similarly.
diff --git a/gcc/config/pa/milli64.S b/gcc/config/pa/milli64.S
index 1a3fb2b..b7704d4 100644
--- a/gcc/config/pa/milli64.S
+++ b/gcc/config/pa/milli64.S
@@ -389,7 +389,7 @@ LSYM(small_divisor)
/* Clear the upper 32 bits of the arg1 register. We are working with */
/* small divisors (and 32 bit integers) We must not be mislead */
/* by "1" bits left in the upper 32 bits. */
- depd r0,31,32,arg1
+ depd %r0,31,32,%r25
#endif
blr,n arg1,r0
nop
@@ -604,7 +604,7 @@ LSYM(special_divisor)
/* Clear the upper 32 bits of the arg1 register. We are working with
small divisors (and 32 bit unsigned integers) We must not be mislead
by "1" bits left in the upper 32 bits. */
- depd r0,31,32,arg1
+ depd %r0,31,32,%r25
#endif
comib,> 0,arg1,LREF(big_divisor)
nop