Fix macro redefinition error on Solaris

PR 16583
	* elf/common.h (AT_SUN_HWCAP): Undef before defining.
This commit is contained in:
Alan Modra 2016-02-09 12:52:02 +10:30
parent 4c5dc7fcf6
commit 24f5f69a8a
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2016-02-09 Alan Modra <amodra@gmail.com>
PR 16583
* elf/common.h (AT_SUN_HWCAP): Undef before defining.
2016-02-04 Nick Clifton <nickc@redhat.com>
PR target/19561

View File

@ -1021,6 +1021,7 @@
#define AT_SUN_LDNAME 2006 /* String giving name of dynamic linker. */
#define AT_SUN_LPAGESZ 2007 /* Large pagesize. */
#define AT_SUN_PLATFORM 2008 /* Platform name string. */
#undef AT_SUN_HWCAP
#define AT_SUN_HWCAP 2009 /* Machine dependent hints about
processor capabilities. */
#define AT_SUN_IFLUSH 2010 /* Should flush icache? */