diff options
author | Oleg Endo <olegendo@gcc.gnu.org> | 2012-10-03 21:36:14 +0000 |
---|---|---|
committer | Oleg Endo <olegendo@gcc.gnu.org> | 2012-10-03 21:36:14 +0000 |
commit | 9597375a25a1f993208611d1f3793d877c50d323 (patch) | |
tree | fc71bcf1d0b65b9bef37251498b377478996703e /gcc/tree-streamer-in.c | |
parent | 846b158cd9da478584980fff99df3dc25c459240 (diff) | |
download | gcc-9597375a25a1f993208611d1f3793d877c50d323.zip gcc-9597375a25a1f993208611d1f3793d877c50d323.tar.gz gcc-9597375a25a1f993208611d1f3793d877c50d323.tar.bz2 |
re PR target/50457 (SH2A atomic functions)
PR target/50457
* config/sh/sh.c (parse_validate_atomic_model_option): Handle name
strings in sh_atomic_model.
* config/sh/sh.h (TARGET_CPU_CPP_BUILTINS): Move macro implementation
to ...
* config/sh/sh-c.c (sh_cpu_cpp_builtins): ... this new function.
Add __SH1__ and __SH2__ defines. Add __SH_ATOMIC_MODEL_*__ define.
* config/sh/sh-protos.h (sh_atomic_model): Add name and cdef_name
variables.
(sh_cpu_cpp_builtins): Declare new function.
PR target/50457
* config/sh/linux-atomic.S: Delete.
* config/sh/linux-atomic.c: New.
* config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
linux-atomic.c. Add cflags to disable warnings.
From-SVN: r192051
Diffstat (limited to 'gcc/tree-streamer-in.c')
0 files changed, 0 insertions, 0 deletions