* config/darwin.h (TARGET_CXX_CLASS_DATA_ALWAYS_COMDAT): New.

From-SVN: r108128
This commit is contained in:
Geoffrey Keating 2005-12-06 20:06:35 +00:00 committed by Geoffrey Keating
parent d7d9383746
commit 9e1700983b
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2005-12-06 Geoffrey Keating <geoffk@apple.com>
* config/darwin.h (TARGET_CXX_CLASS_DATA_ALWAYS_COMDAT): New.
2005-12-06 Aldy Hernandez <aldyh@redhat.com>
PR C++/24138

View file

@ -419,6 +419,10 @@ Boston, MA 02110-1301, USA. */
#undef TARGET_WEAK_NOT_IN_ARCHIVE_TOC
#define TARGET_WEAK_NOT_IN_ARCHIVE_TOC 1
/* On Darwin, we don't (at the time of writing) have linkonce sections
with names, so it's safe to make the class data not comdat. */
#define TARGET_CXX_CLASS_DATA_ALWAYS_COMDAT hook_bool_void_false
/* We make exception information linkonce. */
#undef TARGET_USES_WEAK_UNWIND_INFO
#define TARGET_USES_WEAK_UNWIND_INFO 1