diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sysdeps/mips/sys/asm.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 78fe389f28..d4a72d8a5b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2015-02-16 Joseph Myers <joseph@codesourcery.com> + + * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to + [!defined __mips_isa_rev || __mips_isa_rev < 6]. + 2015-02-16 Torvald Riegel <triegel@redhat.com> * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is diff --git a/sysdeps/mips/sys/asm.h b/sysdeps/mips/sys/asm.h index 6c94cee5d7..0ff88027db 100644 --- a/sysdeps/mips/sys/asm.h +++ b/sysdeps/mips/sys/asm.h @@ -418,7 +418,7 @@ symbol = value # define PTR_ADDI addi # define PTR_SUB sub # define PTR_SUBI subi -#if __mips_isa_rev < 6 +#if !defined __mips_isa_rev || __mips_isa_rev < 6 # define PTR_ADDU add /* no u */ # define PTR_ADDIU addi /* no u */ # define PTR_SUBU sub /* no u */ |