diff options
author | Neil Booth <neil@daikokuya.demon.co.uk> | 2002-06-02 21:00:50 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2002-06-02 21:00:50 +0000 |
commit | 537fc532be12254466f5d19fbaf40dc5016d6f81 (patch) | |
tree | a5885cafe21ad61fbb546134bbde6d487591d94c /gcc/config/h8300/elf.h | |
parent | ab7803738d10fe9619297816fb7a92936b30dc3c (diff) | |
download | gcc-537fc532be12254466f5d19fbaf40dc5016d6f81.zip gcc-537fc532be12254466f5d19fbaf40dc5016d6f81.tar.gz gcc-537fc532be12254466f5d19fbaf40dc5016d6f81.tar.bz2 |
elf.h: Use TARGET_OS_CPP_BUILTINS rather than SUBTARGET_SPEC.
config/h8300:
* elf.h: Use TARGET_OS_CPP_BUILTINS rather than
SUBTARGET_SPEC.
* rtems.h: Similarly.
* h8300.h (CPP_PREDEFINES, CPP_SPEC, SUBTARGET_CPP_SPEC,
EXTRA_SPECS, SUBTARGET_EXTRA_SPECS): Remove.
(TARGET_CPU_CPP_BUILTINS): Use.
From-SVN: r54187
Diffstat (limited to 'gcc/config/h8300/elf.h')
-rw-r--r-- | gcc/config/h8300/elf.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gcc/config/h8300/elf.h b/gcc/config/h8300/elf.h index 7aad2a6..81e320c 100644 --- a/gcc/config/h8300/elf.h +++ b/gcc/config/h8300/elf.h @@ -1,5 +1,8 @@ -#undef SUBTARGET_CPP_SPEC -#define SUBTARGET_CPP_SPEC "-D__ELF__" +/* Target OS preprocessor built-ins. */ +#define TARGET_OS_CPP_BUILTINS() \ + do { \ + builtin_define ("__ELF__"); \ + } while (0) /* Undefine some macros defined in h8300 that conflict with elfos.h . */ #undef SDB_DEBUGGING_INFO |