diff options
author | zlaski <zlaski@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-03-24 00:13:33 +0000 |
---|---|---|
committer | zlaski <zlaski@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-03-24 00:13:33 +0000 |
commit | 333715c25ac4eb90116e877df4c8840756b67bfc (patch) | |
tree | 464ae69af9cebafde05fda4901ca79e0259b4ee9 /gcc/target.h | |
parent | bca692fd606f30493aa35e66533c3cfad2edf57c (diff) | |
download | gcc-333715c25ac4eb90116e877df4c8840756b67bfc.tar.gz |
[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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@79885 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/target.h')
-rw-r--r-- | gcc/target.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/target.h b/gcc/target.h index 5dea29a8204..c122adbcdfa 100644 --- a/gcc/target.h +++ b/gcc/target.h @@ -314,6 +314,11 @@ struct gcc_target rtx (* expand_builtin) (tree exp, rtx target, rtx subtarget, enum machine_mode mode, int ignore); + /* For a vendor-specific fundamental TYPE, return a pointer to + a statically-allocated string containing the C++ mangling for + TYPE. In all other cases, return NULL. */ + const char * (* mangle_fundamental_type) (tree type); + /* Make any adjustments to libfunc names needed for this target. */ void (* init_libfuncs) (void); |