Fix MIPS -Wundef warnings for __mips_isa_rev.
commit87336caeb5e5169575b8cba510cdbb71287c0514
authorJoseph Myers <joseph@codesourcery.com>
Tue, 18 Aug 2015 21:52:22 +0000 (18 21:52 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Tue, 18 Aug 2015 21:52:22 +0000 (18 21:52 +0000)
tree175212155536eb3f63cb1b58073802c9c173c357
parent94ec7e007f4845de284d4f7569721b225ba77572
Fix MIPS -Wundef warnings for __mips_isa_rev.

This patch fixes -Wundef warnings relating to __mips_isa_rev being
undefined.

Tested for mips64 (all three ABIs) that there is a clean build and
testsuite run with -Wno-error=undef removed (and my other -Wundef
patches applied).

* sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
* sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
ChangeLog
sysdeps/mips/dl-machine.h
sysdeps/mips/machine-gmon.h