Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix MIPS PREF/PREFX macro definitions in empty case.
  • Loading branch information
Steve Ellcey authored and Joseph Myers committed Aug 1, 2012
1 parent 7c24def commit b290216
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions 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.
Expand Down
4 changes: 2 additions & 2 deletions ports/sysdeps/mips/sys/asm.h
Expand Up @@ -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

/*
Expand Down

0 comments on commit b290216

Please sign in to comment.