diff options
author | Neil Booth <neil@daikokuya.co.uk> | 2003-05-18 09:46:23 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2003-05-18 09:46:23 +0000 |
commit | 4e2e315f25e0e3e5735d317b3159027ad3277d6d (patch) | |
tree | 934055010292a1ef9f72c81a8ea96eb52f524b30 /gcc/doc/cpp.texi | |
parent | 25903d03442b16235d3198031754e321e0c787c8 (diff) | |
download | gcc-4e2e315f25e0e3e5735d317b3159027ad3277d6d.zip gcc-4e2e315f25e0e3e5735d317b3159027ad3277d6d.tar.gz gcc-4e2e315f25e0e3e5735d317b3159027ad3277d6d.tar.bz2 |
c-cppbuiltin.c (TARGET_OS_CPP_BUILTINS, [...]): Default here.
* c-cppbuiltin.c (TARGET_OS_CPP_BUILTINS, TARGET_OBJFMT_CPP_BUILTINS):
Default here.
(c_cpp_builtins): Invoke TARGET_OBJFMT_CPP_BUILTINS().
* defaults.h: Don't default TARGET_OS_CPP_BUILTINS here.
* config/elfos.h (TARGET_OBJFMT_CPP_BUILTINS): Define __ELF__.
* config/freebsd-spec.h, config/netbsd-elf.h, config/alpha/gnu.h,
config/arm/linux-elf.h, config/arm/rtems-elf.h,
config/arm/unknown-elf.h, config/cris/cris.h, config/cris/linux.h,
config/h8300/elf.h, config/i370/linux.h, config/i386/beos-elf.h,
config/i386/gnu.h, config/i386/linux.h, config/i386/linux64.h,
config/i386/moss.h, config/i386/rtemself.h, config/ia64/ia64.h,
config/m68k/rtemself.h, config/mcore/mcore-elf.h, config/mips/linux.h,
config/pa/pa-linux.h, config/rs6000/linux.h, config/rs6000/linux64.h,
config/rs6000/sysv4.h, config/rs6000/vxworks.h, config/s390/linux.h,
config/sh/coff.h, config/sh/elf.h, config/sh/rtemself.h,
config/sh/sh.h, config/sparc/linux.h, config/sparc/linux64.h,
config/sparc/openbsd64.h, config/sparc/sp64-elf.h,
config/sparc/sp86x-elf.h, config/xtensa/elf.h, config/xtensa/linux.h:
Don't define __ELF__.
* config/alpha.h, config/m68k/linux.h (TARGET_OBJFMT_CPP_BUILTINS):
Define __ELF__.
* doc/cpp.texi: Document __ELF__.
* doc/tm.texi: Document TARGET_OBJFMT_CPP_BUILTINS.
From-SVN: r66926
Diffstat (limited to 'gcc/doc/cpp.texi')
-rw-r--r-- | gcc/doc/cpp.texi | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/doc/cpp.texi b/gcc/doc/cpp.texi index d1ade81..63ac814 100644 --- a/gcc/doc/cpp.texi +++ b/gcc/doc/cpp.texi @@ -1945,6 +1945,9 @@ incremented on every @samp{#include} directive and decremented at the end of every included file. It starts out at 0, it's value within the base file specified on the command line. +@item __ELF__ +This macro is defined if the target uses the ELF object format. + @item __VERSION__ This macro expands to a string constant which describes the version of the compiler in use. You should not rely on its contents having any |