[llvm-commits] [llvm-gcc-4.2] r51417 - /llvm-gcc-4.2/branches/release_23/gcc/config/freebsd-spec.h
Tanya Lattner
tonic at nondot.org
Wed May 21 22:24:59 PDT 2008
Author: tbrethou
Date: Thu May 22 00:24:59 2008
New Revision: 51417
URL: http://llvm.org/viewvc/llvm-project?rev=51417&view=rev
Log:
Merge from mainline.
Modified:
llvm-gcc-4.2/branches/release_23/gcc/config/freebsd-spec.h
Modified: llvm-gcc-4.2/branches/release_23/gcc/config/freebsd-spec.h
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/branches/release_23/gcc/config/freebsd-spec.h?rev=51417&r1=51416&r2=51417&view=diff
==============================================================================
--- llvm-gcc-4.2/branches/release_23/gcc/config/freebsd-spec.h (original)
+++ llvm-gcc-4.2/branches/release_23/gcc/config/freebsd-spec.h Thu May 22 00:24:59 2008
@@ -48,8 +48,6 @@
|| !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 @@
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)
More information about the llvm-commits
mailing list