aboutsummaryrefslogtreecommitdiff
path: root/gcc/hooks.c
diff options
context:
space:
mode:
authorZiemowit Laski <zlaski@apple.com>2004-03-24 00:13:33 +0000
committerZiemowit Laski <zlaski@gcc.gnu.org>2004-03-24 00:13:33 +0000
commitf18eca824c676b77605701ef51abb0bdd21af682 (patch)
tree464ae69af9cebafde05fda4901ca79e0259b4ee9 /gcc/hooks.c
parent1b1d85bda3f05c960b5e0d3cdc2676d96a91b80b (diff)
downloadgcc-f18eca824c676b77605701ef51abb0bdd21af682.zip
gcc-f18eca824c676b77605701ef51abb0bdd21af682.tar.gz
gcc-f18eca824c676b77605701ef51abb0bdd21af682.tar.bz2
hooks.c (hook_constcharptr_tree_null): New hook.
[gcc/ChangeLog] 2004-03-23 Ziemowit Laski <zlaski@apple.com> * hooks.c (hook_constcharptr_tree_null): New hook. * hooks.h (hook_constcharptr_tree_null): New prototype. * target-def.h (TARGET_MANGLE_FUNDAMENTAL_TYPE): New target hook. * target.h (mangle_fundamental_type): New target hook. * config/rs6000/rs6000.c (TARGET_MANGLE_FUNDAMENTAL_TYPE): Point target hook at rs6000_mangle_fundamental_type. (rs6000_mangle_fundamental_type): New function. * doc/tm.texi (TARGET_MANGLE_FUNDAMENTAL_TYPE): Document. [gcc/cp/ChangeLog] 2004-03-23 Ziemowit Laski <zlaski@apple.com> * Make-lang.in (cp/mangle.o): Depend on $(TARGET_H). * mangle.c (write_type): Add call to 'mangle_fundamental_type' target hook. [gcc/testsuite/ChangeLog] 2004-03-23 Ziemowit Laski <zlaski@apple.com> * g++.dg/ext/altivec-7.C: New test. From-SVN: r79885
Diffstat (limited to 'gcc/hooks.c')
-rw-r--r--gcc/hooks.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/hooks.c b/gcc/hooks.c
index 5b9bb65..e37d58e 100644
--- a/gcc/hooks.c
+++ b/gcc/hooks.c
@@ -211,3 +211,10 @@ hook_tree_tree_identity (tree a)
{
return a;
}
+
+/* Generic hook that takes a tree and returns a NULL string. */
+const char *
+hook_constcharptr_tree_null (tree t ATTRIBUTE_UNUSED)
+{
+ return NULL;
+}