003-mips2andHigher-compile.patch 404 B

1234567891011
  1. --- - 2015-05-19 16:29:09.614344473 +0200
  2. +++ protobuf-2.6.1/src/google/protobuf/stubs/atomicops_internals_mips_gcc.h 2015-05-19 13:49:52.127442746 +0200
  3. @@ -150,7 +150,7 @@
  4. }
  5. inline void MemoryBarrier() {
  6. - __asm__ __volatile__("sync" : : : "memory");
  7. + __asm__ __volatile__(".set mips2; sync; .set mips0" : : : "memory");
  8. }
  9. inline void Acquire_Store(volatile Atomic32* ptr, Atomic32 value) {