summaryrefslogtreecommitdiff
path: root/gcc/config/xtensa/linux.h
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2003-11-29 03:08:13 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2003-11-29 03:08:13 +0000
commitbcc7696667c337d732a24c0e9f4ccee1e1f728de (patch)
tree6a19b386d0b5d0fafab73966f59bf9d44a1a9118 /gcc/config/xtensa/linux.h
parent1cd4cfea441acdc9aebb69d52ae76a8c7e068b8a (diff)
downloadgcc-bcc7696667c337d732a24c0e9f4ccee1e1f728de.tar.gz
* config/gnu.h (HURD_TARGET_OS_CPP_BUILTINS): New.
* config/linux.h (LINUX_TARGET_OS_CPP_BUILTINS): New. * config/alpha/gnu.h, config/alpha/linux.h, config/arm/linux-elf.h, config/cris/cris.h, config/cris/linux.h, config/i370/linux.h, config/i386/gnu.h, config/i386/i386.h, config/i386/linux-aout.h, config/i386/linux.h, config/i386/linux64.h, config/ia64/linux.h, config/m68k/linux.h, config/m68k/uclinux.h, config/mips/linux.h, config/mn10300/linux.h, config/pa/pa-linux.h, config/rs6000/sysv4.h, config/s390/linux.h, config/sh/linux.h, config/sparc/linux.h, config/sparc/linux64.h, config/xtensa/linux.h (TARGET_OS_CPP_BUILTINS): Use HURD_TARGET_OS_CPP_BUILTINS/LINUX_TARGET_OS_CPP_BUILTINS or ensure all necessary assertions are included. testsuite: * testsuite/gcc.dg/cpp/assert4.c: Update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74031 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/xtensa/linux.h')
-rw-r--r--gcc/config/xtensa/linux.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/gcc/config/xtensa/linux.h b/gcc/config/xtensa/linux.h
index ef5aae04f63..0b3b077eca9 100644
--- a/gcc/config/xtensa/linux.h
+++ b/gcc/config/xtensa/linux.h
@@ -19,13 +19,7 @@ along with GCC; see the file COPYING. If not, write to the Free
Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA. */
-#define TARGET_OS_CPP_BUILTINS() \
- do { \
- builtin_define_std ("linux"); \
- builtin_define_std ("unix"); \
- builtin_define ("__gnu_linux__"); \
- builtin_assert ("system=posix"); \
- } while (0)
+#define TARGET_OS_CPP_BUILTINS() LINUX_TARGET_OS_CPP_BUILTINS()
#undef SUBTARGET_CPP_SPEC
#define SUBTARGET_CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}"