tile: avoid preprocessor redefinition warnings
PSEUDO_END and PSEUDO_END_NOERRNO are being defined in sysdeps/unix/sysdep.h and then redefined for tile. Add an undef before each define to silence the warnings.
This commit is contained in:
parent
23c4baa214
commit
1245e51596
|
@ -1,3 +1,8 @@
|
||||||
|
2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
|
||||||
|
(PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
|
||||||
|
|
||||||
2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
|
2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
|
* sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
|
||||||
|
|
|
@ -53,17 +53,20 @@
|
||||||
# define SYSCALL_ERROR_NAME plt(__syscall_error)
|
# define SYSCALL_ERROR_NAME plt(__syscall_error)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#undef PSEUDO_END
|
||||||
#define PSEUDO_END(name) \
|
#define PSEUDO_END(name) \
|
||||||
0: \
|
0: \
|
||||||
j SYSCALL_ERROR_NAME; \
|
j SYSCALL_ERROR_NAME; \
|
||||||
END (name)
|
END (name)
|
||||||
|
|
||||||
|
#undef PSEUDO_NOERRNO
|
||||||
#define PSEUDO_NOERRNO(name, syscall_name, args) \
|
#define PSEUDO_NOERRNO(name, syscall_name, args) \
|
||||||
ENTRY (name); \
|
ENTRY (name); \
|
||||||
DO_CALL(syscall_name, args)
|
DO_CALL(syscall_name, args)
|
||||||
|
|
||||||
#define ret_NOERRNO jrp lr
|
#define ret_NOERRNO jrp lr
|
||||||
|
|
||||||
|
#undef PSEUDO_END_NOERRNO
|
||||||
#define PSEUDO_END_NOERRNO(name) \
|
#define PSEUDO_END_NOERRNO(name) \
|
||||||
END (name)
|
END (name)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue