summaryrefslogtreecommitdiff
path: root/gcc/config/gnu.h
diff options
context:
space:
mode:
authortschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>2008-11-13 23:28:46 +0000
committertschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>2008-11-13 23:28:46 +0000
commit72a65e812a6c58dc412fe91219b1a86168b9954d (patch)
tree6e19c94bb791d6a3ba8b3243c62c5d6240178a97 /gcc/config/gnu.h
parent2911fd56d5bfb43ec34e3e538ff1588aff946d0b (diff)
downloadgcc-72a65e812a6c58dc412fe91219b1a86168b9954d.tar.gz
2008-11-13 Thomas Schwinge <tschwinge@gnu.org>
PR target/28102 * config.gcc (*-*-gnu*): Move Alpha parts into the `alpha*-*-gnu*', x86 parts into the `i[34567]86-*-linux*' and parts that are independent of the processor architecture into the `*-*-linux*' cases. (*-*-linux*): Consider `linux.opt' only for Linux-based configurations. * config/i386/gnu.h (GLIBC_DYNAMIC_LINKER): Redefine. (TARGET_OS_CPP_BUILTINS, LINK_SPEC): Don't redefine. [TARGET_LIBC_PROVIDES_SSP] (TARGET_THREAD_SSP_OFFSET): Undefine. * config/gnu.h (NO_IMPLICIT_EXTERN_C): Don't redefine. (HURD_TARGET_OS_CPP_BUILTINS): Don't define, but instead... (LINUX_TARGET_OS_CPP_BUILTINS): Redefine. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@141838 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/gnu.h')
-rw-r--r--gcc/config/gnu.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/config/gnu.h b/gcc/config/gnu.h
index 412a4f89833..1299376e665 100644
--- a/gcc/config/gnu.h
+++ b/gcc/config/gnu.h
@@ -32,10 +32,8 @@ along with GCC. If not, see <http://www.gnu.org/licenses/>.
#undef STANDARD_INCLUDE_DIR
#define STANDARD_INCLUDE_DIR "/include"
-/* The system headers under GNU are C++-aware. */
-#define NO_IMPLICIT_EXTERN_C
-
-#define HURD_TARGET_OS_CPP_BUILTINS() \
+#undef LINUX_TARGET_OS_CPP_BUILTINS
+#define LINUX_TARGET_OS_CPP_BUILTINS() \
do { \
builtin_define ("__gnu_hurd__"); \
builtin_define ("__GNU__"); \