diff options
author | walt <walt@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-01-25 20:37:01 +0000 |
---|---|---|
committer | walt <walt@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-01-25 20:37:01 +0000 |
commit | 41766a5fb4d797926384ffdc1fe9330971bb1d81 (patch) | |
tree | e1f957da9b8304e32cb5d91db38d0665df565db1 /libgcc | |
parent | c8d04645ab57d94824e3709e7f7f8145e0b43ec9 (diff) | |
download | ppe42-gcc-41766a5fb4d797926384ffdc1fe9330971bb1d81.tar.gz ppe42-gcc-41766a5fb4d797926384ffdc1fe9330971bb1d81.zip |
2014-01-25 Walter Lee <walt@tilera.com>
* config/tilepro/atomic.c: Include tconfig.h. Don't include
config.h or system.h.
(bool) Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207088 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc')
-rw-r--r-- | libgcc/ChangeLog | 6 | ||||
-rw-r--r-- | libgcc/config/tilepro/atomic.c | 5 |
2 files changed, 9 insertions, 2 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 48253b232ac..845c8f4faac 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,5 +1,11 @@ 2014-01-25 Walter Lee <walt@tilera.com> + * config/tilepro/atomic.c: Include tconfig.h. Don't include + config.h or system.h. + (bool) Define. + +2014-01-25 Walter Lee <walt@tilera.com> + * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline. (post_atomic_barrier): Ditto. (__fetch_and_do): New macro. diff --git a/libgcc/config/tilepro/atomic.c b/libgcc/config/tilepro/atomic.c index 2df73b51164..66ef8fd7daa 100644 --- a/libgcc/config/tilepro/atomic.c +++ b/libgcc/config/tilepro/atomic.c @@ -21,11 +21,12 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ -#include "config.h" -#include "system.h" +#include "tconfig.h" #include "coretypes.h" #include "atomic.h" +#define bool unsigned char + /* This code should be inlined by the compiler, but for now support it as out-of-line methods in libgcc. */ |