aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorSteve Ellcey <sellcey@mips.com>2012-08-01 15:11:43 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-08-01 15:11:43 +0000
commitb290216f09a169a5207005d9cc545d21822bee62 (patch)
treef0c10b220ae658a4b68ad6666bb053721040dd72 /ports
parent7c24defe1a360ddc018e610892ade5803638da0f (diff)
downloadglibc-b290216f09a169a5207005d9cc545d21822bee62.zip
glibc-b290216f09a169a5207005d9cc545d21822bee62.tar.gz
glibc-b290216f09a169a5207005d9cc545d21822bee62.tar.bz2
Fix MIPS PREF/PREFX macro definitions in empty case.
Diffstat (limited to 'ports')
-rw-r--r--ports/ChangeLog.mips8
-rw-r--r--ports/sysdeps/mips/sys/asm.h4
2 files changed, 10 insertions, 2 deletions
diff --git a/ports/ChangeLog.mips b/ports/ChangeLog.mips
index 4e45ae7..d4978ab 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 347d738..0f5edf9 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
/*