diff options
-rw-r--r-- | libpthread/nptl/sysdeps/unix/sysv/linux/arm/lowlevellock.h | 4 | ||||
-rw-r--r-- | libpthread/nptl/sysdeps/unix/sysv/linux/arm/unwind-resume.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/lowlevellock.h b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/lowlevellock.h index 26783b761..df5833c46 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/lowlevellock.h +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/lowlevellock.h @@ -107,7 +107,7 @@ __lll_mutex_trylock (int *futex) else if (old > 1) flag = atomic_exchange_acq (futex, old); #else - asm volatile ( + __asm__ __volatile__ ( "\tswp %[old], %[flag], [%[futex]] @ try to take the lock\n" "\tcmp %[old], #1 @ check old lock value\n" "\tmovlo %[flag], #0 @ if we got it, return 0\n" @@ -134,7 +134,7 @@ __lll_mutex_cond_trylock (int *futex) else if (old > 1) flag = atomic_exchange_acq (futex, old); #else - asm volatile ( + __asm__ __volatile__ ( "\tswp %[old], %[flag], [%[futex]] @ try to take the lock\n" "\tcmp %[old], #1 @ check old lock value\n" "\tmovlo %[flag], #0 @ if we got it, return 0\n" diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/unwind-resume.c b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/unwind-resume.c index 344f80535..8188249ef 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/unwind-resume.c +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/unwind-resume.c @@ -53,7 +53,7 @@ init (void) ARM unwinder relies on register state at entrance. So we write this in assembly. */ -asm ( +__asm__ ( " .globl _Unwind_Resume\n" " .type _Unwind_Resume, %function\n" "_Unwind_Resume:\n" |