diff options
Diffstat (limited to 'gcc/config/darwin.h')
| -rw-r--r-- | gcc/config/darwin.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h index a78d1d3..48bf079 100644 --- a/gcc/config/darwin.h +++ b/gcc/config/darwin.h @@ -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 |
