diff options
author | Geoffrey Keating <geoffk@apple.com> | 2007-01-09 07:48:38 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2007-01-09 07:48:38 +0000 |
commit | 157600d084f021125d99def7874bd7e6a01f2cd3 (patch) | |
tree | d0caf2e0b46a9b90f225815564ffe0a37d2140fc /gcc/target.h | |
parent | 95af8923f19ed9bddc89caa02103d48b44641c7e (diff) | |
download | gcc-157600d084f021125d99def7874bd7e6a01f2cd3.zip gcc-157600d084f021125d99def7874bd7e6a01f2cd3.tar.gz gcc-157600d084f021125d99def7874bd7e6a01f2cd3.tar.bz2 |
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.
From-SVN: r120611
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 b59f561..e86ba21 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); |