diff options
author | geoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-01-09 07:48:38 +0000 |
---|---|---|
committer | geoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-01-09 07:48:38 +0000 |
commit | 60d9461b2b6bfbaffffa0415e58f1c685edad57d (patch) | |
tree | d0caf2e0b46a9b90f225815564ffe0a37d2140fc /gcc/target.h | |
parent | a378fc890ed88dbc35f92b33f6d79e453ef0173b (diff) | |
download | ppe42-gcc-60d9461b2b6bfbaffffa0415e58f1c685edad57d.tar.gz ppe42-gcc-60d9461b2b6bfbaffffa0415e58f1c685edad57d.zip |
Index: ChangeLog
2007-01-08 Geoffrey Keating <geoffk@apple.com>
* target.h (struct gcc_target): New field library_rtti_comdat.
* target-def.h (TARGET_CXX_LIBRARY_RTTI_COMDAT): New.
(TARGET_CXX): Add TARGET_CXX_LIBRARY_RTTI_COMDAT.
* doc/tm.texi (C++ ABI): Document TARGET_CXX_LIBRARY_RTTI_COMDAT.
* config/darwin.h (TARGET_CXX_LIBRARY_RTTI_COMDAT): Define.
Index: testsuite/ChangeLog
2007-01-08 Geoffrey Keating <geoffk@apple.com>
* g++.dg/rtti/darwin-builtin-linkage.C: New.
Index: cp/ChangeLog
2007-01-08 Geoffrey Keating <geoffk@apple.com>
* rtti.c: Include target.h.
(emit_support_tinfos): If ! targetm.cxx.library_rtti_comdat (),
don't emit typeinfo for fundamental types as weak.
* Make-lang.in (cp/rtti.o): Update and correct dependencies.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120611 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/target.h')
-rw-r--r-- | gcc/target.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/target.h b/gcc/target.h index b59f561657f..e86ba2167e2 100644 --- a/gcc/target.h +++ b/gcc/target.h @@ -808,6 +808,10 @@ struct gcc_target class data for classes whose virtual table will be emitted in only one translation unit will not be COMDAT. */ bool (*class_data_always_comdat) (void); + /* Returns true (the default) if the RTTI for the basic types, + which is always defined in the C++ runtime, should be COMDAT; + false if it should not be COMDAT. */ + bool (*library_rtti_comdat) (void); /* Returns true if __aeabi_atexit should be used to register static destructors. */ bool (*use_aeabi_atexit) (void); |