aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>2003-03-05 22:40:21 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2003-03-05 22:40:21 +0000
commit98857de85a8f3f2ad43f463cac579b3b86f9e4b5 (patch)
tree3a196385104dddc719d63dba9bbbbdcfab362074 /gcc
parent967143957e1b219647022c9b01530af954ae54f1 (diff)
downloadgcc-98857de85a8f3f2ad43f463cac579b3b86f9e4b5.zip
gcc-98857de85a8f3f2ad43f463cac579b3b86f9e4b5.tar.gz
gcc-98857de85a8f3f2ad43f463cac579b3b86f9e4b5.tar.bz2
pa.md (return_external_pic): Add !TARGET_PA_20 to constraint.
* pa.md (return_external_pic): Add !TARGET_PA_20 to constraint. (epilogue): Don't generate return_external_pic when emitting PA 2.0 code. From-SVN: r63871
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/pa/pa.md5
2 files changed, 10 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9d1c880..14ede67 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2003-03-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+
+ * pa.md (return_external_pic): Add !TARGET_PA_20 to constraint.
+ (epilogue): Don't generate return_external_pic when emitting PA 2.0
+ code.
+
2003-03-05 Aldy Hernandez <aldyh@redhat.com>
* doc/tm.texi: Document TARGET_DWARF_REGISTER_SPAN.
diff --git a/gcc/config/pa/pa.md b/gcc/config/pa/pa.md
index d4f6461..ffb28ad 100644
--- a/gcc/config/pa/pa.md
+++ b/gcc/config/pa/pa.md
@@ -5629,7 +5629,9 @@
[(return)
(clobber (reg:SI 1))
(use (reg:SI 2))]
- "!TARGET_NO_SPACE_REGS && flag_pic && current_function_calls_eh_return"
+ "!TARGET_NO_SPACE_REGS
+ && !TARGET_PA_20
+ && flag_pic && current_function_calls_eh_return"
"ldsid (%%sr0,%%r2),%%r1\;mtsp %%r1,%%sr0\;be%* 0(%%sr0,%%r2)"
[(set_attr "type" "branch")
(set_attr "length" "12")])
@@ -5668,6 +5670,7 @@
This is only a problem for returns from shared code on ports
using space registers. */
if (!TARGET_NO_SPACE_REGS
+ && !TARGET_PA_20
&& flag_pic && current_function_calls_eh_return)
x = gen_return_external_pic ();
else