aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorZack Weinberg <zack@gcc.gnu.org>2002-05-11 18:23:28 +0000
committerZack Weinberg <zack@gcc.gnu.org>2002-05-11 18:23:28 +0000
commite1a0f69c8f59e39584e50f912a38ba84dadcf431 (patch)
tree369a59f04488660676e138dfb8e9d3ae0ee2b7d5 /gcc
parent9c64026dfc74b218c0ad2bbb7509ae6d5024b7d4 (diff)
downloadgcc-e1a0f69c8f59e39584e50f912a38ba84dadcf431.zip
gcc-e1a0f69c8f59e39584e50f912a38ba84dadcf431.tar.gz
gcc-e1a0f69c8f59e39584e50f912a38ba84dadcf431.tar.bz2
Oops, this went with the previous commit
From-SVN: r53385
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog35
1 files changed, 35 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 00e19c6..6213941 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,38 @@
+2002-05-11 Zack Weinberg <zack@codesourcery.com>
+
+ * config/rs6000/rs6000.c (rs6000_default_long_calls,
+ rs6000_longcall_switch, rs6000_set_default_type_attributes): New.
+ (TARGET_SET_DEFAULT_TYPE_ATTRIBUTES): Set it.
+ (rs6000_override_options): Handle -m(no-)longcall.
+ (init_cumulative_args, output_mi_thunk): Check for both
+ longcall and shortcall attributes on the function.
+ (rs6000_attribute_table): Add "shortcall".
+ (rs6000_handle_longcall_attribute): Update comment.
+ (altivec_expand_unop_builtin, altivec_expand_binop_builtin,
+ altivec_expand_ternop_builtin): Add default clauses to switches
+ to silence warnings.
+
+ * config/rs6000/rs6000.h: Declare rs6000_longcall_switch and
+ rs6000_default_long_calls. Define REGISTER_TARGET_PRAGMAS.
+ (TARGET_OPTIONS): Add longcall and no-longcall.
+
+ * config/rs6000/rs6000.md (call_nonlocal_sysv,
+ call_value_nonlocal_sysv): Split by alternatives. One pair
+ accepts only SYMBOL_REFs and rejects if CALL_LONG is set in
+ the call cookie. The other pair accepts only LR/CTR and has
+ no restriction.
+
+ * config.gcc (rs6000-*-* | powerpc*-*-* trailer stanza):
+ Set c_target_objs, cxx_target_objs; add t-rs6000-c-rule to
+ tmake_file.
+ * config/rs6000/rs6000-c.c: New file.
+ * config/rs6000/t-rs6000-c-rule: New file.
+ * config/rs6000/rs6000-protos.c: Add multiple-include guard.
+ Prototype rs6000_pragma_longcall.
+
+ * doc/extend.texi: Document shortcall attribute.
+ * doc/invoke.texi: Document -mlongcall, -mno-longcall.
+
2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
* reorg.c (dbr_schedule): Remove unnecessary test.