aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/pa/pa.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8b23b5f..c87842e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2002-04-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
+
+ * pa.h (FUNCTION_OK_FOR_SIBCALL): Don't do sibcalls when using the
+ portable runtime model.
+
2002-04-26 Richard Henderson <rth@redhat.com>
* c-parse.in (yyoverflow): Revert.
diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h
index 0fd97ee..d1d3773 100644
--- a/gcc/config/pa/pa.h
+++ b/gcc/config/pa/pa.h
@@ -1981,6 +1981,7 @@ while (0)
will never return. */
#define FUNCTION_OK_FOR_SIBCALL(DECL) \
(DECL \
+ && ! TARGET_PORTABLE_RUNTIME \
&& ! TARGET_64BIT \
&& ! TREE_PUBLIC (DECL))