From 8dd10ae8e82035ab2520ce6ee6c11fffd9aa3f9f Mon Sep 17 00:00:00 2001 From: Anton Korobeynikov Date: Tue, 20 May 2008 17:56:47 +0000 Subject: [PATCH] Fix FreeBSD specs handling. This seems to be merge problem during 4.0 => 4.2 migration. git-svn-id: https://llvm.org/svn/llvm-project/llvm-gcc-4.2/trunk@51325 91177308-0d34-0410-b5e6-96231b3b80d8 --- gcc/config/freebsd-spec.h | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/gcc/config/freebsd-spec.h b/gcc/config/freebsd-spec.h index 42afd0c7..b3f18e20 100644 --- a/gcc/config/freebsd-spec.h +++ b/gcc/config/freebsd-spec.h @@ -48,8 +48,6 @@ Boston, MA 02110-1301, USA. */ || !strcmp ((STR), "soname") || !strcmp ((STR), "defsym") \ || !strcmp ((STR), "assert") || !strcmp ((STR), "dynamic-linker")) -/* LLVM LOCAL begin */ -#ifndef ENABLE_LLVM #define FBSD_TARGET_OS_CPP_BUILTINS() \ do \ { \ @@ -62,32 +60,6 @@ Boston, MA 02110-1301, USA. */ FBSD_TARGET_CPU_CPP_BUILTINS(); \ } \ while (0) -#else -#define FBSD_TARGET_OS_CPP_BUILTINS() \ - do \ - { \ - if (FBSD_MAJOR == 7) \ - builtin_define ("__FreeBSD__=7"); \ - else if (FBSD_MAJOR == 6) \ - builtin_define ("__FreeBSD__=6"); \ - else if (FBSD_MAJOR == 5) \ - builtin_define ("__FreeBSD__=5"); \ - else if (FBSD_MAJOR == 4) \ - builtin_define ("__FreeBSD__=4"); \ - else if (FBSD_MAJOR == 3) \ - builtin_define ("__FreeBSD__=3"); \ - else \ - builtin_define ("__FreeBSD__"); \ - builtin_define_std ("unix"); \ - builtin_define ("__KPRINTF_ATTRIBUTE__"); \ - builtin_assert ("system=unix"); \ - builtin_assert ("system=bsd"); \ - builtin_assert ("system=FreeBSD"); \ - FBSD_TARGET_CPU_CPP_BUILTINS(); \ - } \ - while (0) -#endif -/* LLVM LOCAL end */ /* Define the default FreeBSD-specific per-CPU hook code. */ #define FBSD_TARGET_CPU_CPP_BUILTINS() do {} while (0) -- 2.11.4.GIT