diff options
Diffstat (limited to 'sysdeps/mips/sys/tas.h')
-rw-r--r-- | sysdeps/mips/sys/tas.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/mips/sys/tas.h b/sysdeps/mips/sys/tas.h index e14b5f04c1..22907ab86f 100644 --- a/sysdeps/mips/sys/tas.h +++ b/sysdeps/mips/sys/tas.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2000-2015 Free Software Foundation, Inc. +/* Copyright (C) 2000-2016 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Maciej W. Rozycki <macro@ds2.pg.gda.pl>, 2000. @@ -41,7 +41,7 @@ __NTH (_test_and_set (int *__p, int __v)) __asm__ __volatile__ ("/* Inline test and set */\n" ".set push\n\t" -#if _MIPS_SIM == _ABIO32 +#if _MIPS_SIM == _ABIO32 && __mips < 2 ".set mips2\n\t" #endif "sync\n\t" |