diff options
author | Steve Ellcey <sellcey@mips.com> | 2012-08-01 15:11:43 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-08-01 15:11:43 +0000 |
commit | b290216f09a169a5207005d9cc545d21822bee62 (patch) | |
tree | f0c10b220ae658a4b68ad6666bb053721040dd72 | |
parent | 7c24defe1a360ddc018e610892ade5803638da0f (diff) | |
download | glibc-b290216f09a169a5207005d9cc545d21822bee62.tar.gz glibc-b290216f09a169a5207005d9cc545d21822bee62.tar.xz glibc-b290216f09a169a5207005d9cc545d21822bee62.zip |
Fix MIPS PREF/PREFX macro definitions in empty case.
-rw-r--r-- | ports/ChangeLog.mips | 8 | ||||
-rw-r--r-- | ports/sysdeps/mips/sys/asm.h | 4 |
2 files changed, 10 insertions, 2 deletions
diff --git a/ports/ChangeLog.mips b/ports/ChangeLog.mips index 4e45ae737c..d4978abd96 100644 --- a/ports/ChangeLog.mips +++ b/ports/ChangeLog.mips @@ -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. diff --git a/ports/sysdeps/mips/sys/asm.h b/ports/sysdeps/mips/sys/asm.h index 347d738f70..0f5edf9243 100644 --- a/ports/sysdeps/mips/sys/asm.h +++ b/ports/sysdeps/mips/sys/asm.h @@ -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 /* |