From 15072eb1299f2e6f415798e4bbaf054ddc905645 Mon Sep 17 00:00:00 2001 From: Zack Weinberg Date: Thu, 9 Sep 2004 17:11:18 +0000 Subject: defaults.h (MULTIPLE_SYMBOL_SPACES): Provide default. * defaults.h (MULTIPLE_SYMBOL_SPACES): Provide default. * config/arm/pecoff.h, config/i386/beos-elf.h * config/i386/cygming.h, config/i386/i386-interix.h: Define MULTIPLE_SYMBOL_SPACES to 1, not nothing. Remove comment cloned from manual. * doc/tm.texi: Update description of MULTIPLE_SYMBOL_SPACES. cp: * decl2.c (import_export_class) * lex.c (handle_pragma_interface): Test MULTIPLE_SYMBOL_SPACES with if, not #ifdef. From-SVN: r87243 --- gcc/defaults.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gcc/defaults.h') diff --git a/gcc/defaults.h b/gcc/defaults.h index 588d0fc..849e5a9 100644 --- a/gcc/defaults.h +++ b/gcc/defaults.h @@ -291,6 +291,11 @@ do { fputs (integer_asm_op (POINTER_SIZE / BITS_PER_UNIT, TRUE), FILE); \ # define USE_COMMON_FOR_ONE_ONLY 1 #endif +/* By default we can assume that all global symbols are in one namespace, + across all shared libraries. */ +#ifndef MULTIPLE_SYMBOL_SPACES +# define MULTIPLE_SYMBOL_SPACES 0 +#endif /* If the target supports init_priority C++ attribute, give SUPPORTS_INIT_PRIORITY a nonzero value. */ -- cgit v1.1