Fix MIPS PREF/PREFX macro definitions in empty case.

This commit is contained in:
Steve Ellcey 2012-08-01 15:11:43 +00:00 committed by Joseph Myers
parent 7c24defe1a
commit b290216f09
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,11 @@
2012-08-01 Steve Ellcey <sellcey@mips.com>
* sysdeps/mips/sys/asm.h [_MIPS_ISA != _MIPS_ISA_MIPS4 &&
_MIPS_ISA != _MIPS_ISA_MIPS5 && _MIPS_ISA != _MIPS_ISA_MIPS32 &&
_MIPS_ISA != _MIPS_ISA_MIPS64] (PREF): Define as function-like
macro.
(PREFX): Likewise.
2012-07-31 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/mips/fcntl.c: Remove.

View File

@ -233,8 +233,8 @@ symbol = value
# define PREFX(hint,addr) \
prefx hint,addr
#else
# define PREF
# define PREFX
# define PREF(hint,addr)
# define PREFX(hint,addr)
#endif
/*