diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2019-02-01 21:55:38 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2019-02-01 21:55:38 +0000 |
commit | b52a3881f04799d410f7ec70d022179c8d734459 (patch) | |
tree | eace57a9fb5df73173371815f0a0e1a5913a77a8 /libgo/Makefile.in | |
parent | a53a893b4fe04ec966a4ec178ee8f394426a5dad (diff) | |
download | gcc-b52a3881f04799d410f7ec70d022179c8d734459.zip gcc-b52a3881f04799d410f7ec70d022179c8d734459.tar.gz gcc-b52a3881f04799d410f7ec70d022179c8d734459.tar.bz2 |
runtime, sync: use __atomic intrinsics instead of __sync
GCC has supported the __atomic intrinsics since 4.7. They are better
than the __sync intrinsics in that they specify a memory model and,
more importantly for our purposes, they are reliably implemented
either in the compiler or in libatomic.
Fixes https://gcc.gnu.org/PR52084
Reviewed-on: https://go-review.googlesource.com/c/160820
From-SVN: r268458
Diffstat (limited to 'libgo/Makefile.in')
-rw-r--r-- | libgo/Makefile.in | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libgo/Makefile.in b/libgo/Makefile.in index abda064..04cce14 100644 --- a/libgo/Makefile.in +++ b/libgo/Makefile.in @@ -252,8 +252,8 @@ am__objects_3 = runtime/aeshash.lo runtime/go-assert.lo \ runtime/go-unsetenv.lo runtime/go-unwind.lo \ runtime/go-varargs.lo runtime/env_posix.lo runtime/panic.lo \ runtime/print.lo runtime/proc.lo runtime/runtime_c.lo \ - runtime/stack.lo runtime/thread.lo runtime/yield.lo \ - $(am__objects_1) $(am__objects_2) + runtime/stack.lo runtime/yield.lo $(am__objects_1) \ + $(am__objects_2) am_libgo_llgo_la_OBJECTS = $(am__objects_3) libgo_llgo_la_OBJECTS = $(am_libgo_llgo_la_OBJECTS) AM_V_lt = $(am__v_lt_@AM_V@) @@ -897,7 +897,6 @@ runtime_files = \ runtime/proc.c \ runtime/runtime_c.c \ runtime/stack.c \ - runtime/thread.c \ runtime/yield.c \ $(rtems_task_variable_add_file) \ $(runtime_getncpu_file) @@ -1373,8 +1372,6 @@ runtime/runtime_c.lo: runtime/$(am__dirstamp) \ runtime/$(DEPDIR)/$(am__dirstamp) runtime/stack.lo: runtime/$(am__dirstamp) \ runtime/$(DEPDIR)/$(am__dirstamp) -runtime/thread.lo: runtime/$(am__dirstamp) \ - runtime/$(DEPDIR)/$(am__dirstamp) runtime/yield.lo: runtime/$(am__dirstamp) \ runtime/$(DEPDIR)/$(am__dirstamp) runtime/rtems-task-variable-add.lo: runtime/$(am__dirstamp) \ @@ -1449,7 +1446,6 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@runtime/$(DEPDIR)/rtems-task-variable-add.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@runtime/$(DEPDIR)/runtime_c.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@runtime/$(DEPDIR)/stack.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@runtime/$(DEPDIR)/thread.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@runtime/$(DEPDIR)/yield.Plo@am__quote@ .c.o: |