summaryrefslogtreecommitdiff
path: root/gcc/config/arm/linux-elf.h
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2002-04-13 19:21:08 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2002-04-13 19:21:08 +0000
commitd29350c02f67827c3357b0da5ca62d4ca8733be1 (patch)
tree9a506a8d66b321a98650e31198703510048970c6 /gcc/config/arm/linux-elf.h
parent1aa65134e436f3eb90e4e7204534dfa08e8160e1 (diff)
downloadgcc-d29350c02f67827c3357b0da5ca62d4ca8733be1.tar.gz
linux.h: Define __gnu_linux__ wherever __linux__ is defined...
* alpha/linux.h: Define __gnu_linux__ wherever __linux__ is defined, and __gnu_hurd__ wherever __GNU__ is defined. * arm/linux-elf.h: Likewise. * cris/aout.h: Likewise. * cris/linux.h: Likewise. * i370/linux.h: Likewise. * i386/gnu.h: Likewise. * i386/linux-aout.h: Likewise. * i386/linux-oldld.h: Likewise. * i386/linux.h: Likewise. * i386/linux64.h: Likewise. * ia64/linux.h: Likewise. * m68k/linux-aout.h: Likewise. * m68k/linux.h: Likewise. * mips/linux.h: Likewise. * pa/pa-linux.h: Likewise. * pj/linux.h: Likewise. * rs6000/sysv4.h: Likewise. * s390/linux.h: Likewise. * sh/linux.h: Likewise. * sparc/linux-aout.h: Likewise. * sparc/linux.h: Likewise. * sparc/linux64.h: Likewise. * xtensa/linux.h: Likewise. From-SVN: r52279
Diffstat (limited to 'gcc/config/arm/linux-elf.h')
-rw-r--r--gcc/config/arm/linux-elf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/arm/linux-elf.h b/gcc/config/arm/linux-elf.h
index 74f7e7ef999..86e48c898cf 100644
--- a/gcc/config/arm/linux-elf.h
+++ b/gcc/config/arm/linux-elf.h
@@ -1,5 +1,5 @@
/* Definitions for ARM running Linux-based GNU systems using ELF
- Copyright (C) 1993, 1994, 1997, 1998, 1999, 2000, 2001
+ Copyright (C) 1993, 1994, 1997, 1998, 1999, 2000, 2001, 2002
Free Software Foundation, Inc.
Contributed by Philip Blundell <philb@gnu.org>
@@ -87,7 +87,7 @@ Boston, MA 02111-1307, USA. */
#undef CPP_PREDEFINES
#define CPP_PREDEFINES \
-"-Dunix -Dlinux -D__ELF__ \
+"-Dunix -Dgnu_linux -Dlinux -D__ELF__ \
-Asystem=unix -Asystem=posix"
/* Allow #sccs in preprocessor. */