Oleg Endo
9597375a25
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
2012-10-03 21:36:14 +00:00
..
2012-10-03 21:36:14 +00:00
2012-03-01 21:50:26 +01:00
2012-10-03 21:36:14 +00:00
2012-09-20 01:20:34 +00:00
2012-05-10 08:51:39 +00:00
2012-05-29 15:54:22 +01:00
2012-05-29 15:54:22 +01:00
2012-08-19 16:11:40 +01:00
2011-07-11 14:40:56 +00:00
2011-11-02 15:26:35 +00:00
2011-11-02 15:23:48 +00:00
2011-11-02 15:26:35 +00:00
2011-06-22 13:20:07 +02:00
2012-01-03 21:39:46 +00:00
2011-11-02 15:26:35 +00:00
2011-08-01 12:02:45 +00:00
2012-08-23 15:41:03 +00:00
2011-11-02 15:23:48 +00:00
2011-11-02 15:23:48 +00:00
2011-11-02 15:23:48 +00:00
2011-11-02 15:23:48 +00:00
2011-11-02 15:26:35 +00:00
2011-08-05 14:53:09 +00:00
2011-11-02 15:23:48 +00:00
2011-11-02 15:26:35 +00:00
2012-02-28 17:43:43 +00:00
2012-10-02 21:22:32 +01:00
2012-10-02 21:22:32 +01:00
2012-10-02 21:22:32 +01:00
2011-11-02 15:26:35 +00:00
2011-11-02 15:23:48 +00:00
2011-11-28 05:44:31 +00:00
2012-09-07 13:49:47 +00:00
2012-08-16 03:49:57 +02:00
2012-09-05 08:47:50 +00:00
2011-11-02 15:23:48 +00:00
2011-11-02 15:23:48 +00:00
2011-11-02 15:23:48 +00:00
2011-11-02 15:23:48 +00:00
2011-11-02 15:26:35 +00:00
2012-03-12 15:35:56 +00:00
2011-11-02 10:49:46 +00:00
2011-06-21 14:26:13 +00:00
2011-11-02 15:23:48 +00:00
2012-08-22 09:36:23 +01:00
2011-08-09 15:40:30 +00:00
2011-11-02 15:23:48 +00:00
2011-11-02 15:23:48 +00:00
2011-12-20 20:54:25 +00:00
2012-07-19 07:29:24 +00:00
2011-08-05 14:37:48 +00:00
2011-08-05 14:37:48 +00:00
2011-08-05 14:37:48 +00:00
2012-04-24 22:41:33 +00:00
2012-03-13 10:00:48 +00:00
2011-08-05 14:37:48 +00:00
2012-03-13 10:07:50 -07:00
2011-08-05 14:37:48 +00:00
2012-07-19 07:29:24 +00:00
2011-08-05 14:37:48 +00:00
2012-07-19 07:29:24 +00:00
2011-11-02 15:26:35 +00:00
2011-08-05 14:37:48 +00:00