From: Alan Modra Date: Tue, 9 Feb 2016 02:22:02 +0000 (+1030) Subject: Fix macro redefinition error on Solaris X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=24f5f69a8a1d09c317a5f28d324fca73a8a0b930;p=binutils-gdb.git Fix macro redefinition error on Solaris PR 16583 * elf/common.h (AT_SUN_HWCAP): Undef before defining. --- diff --git a/include/ChangeLog b/include/ChangeLog index b637fc996ea..a87610db3eb 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,8 @@ +2016-02-09 Alan Modra + + PR 16583 + * elf/common.h (AT_SUN_HWCAP): Undef before defining. + 2016-02-04 Nick Clifton PR target/19561 diff --git a/include/elf/common.h b/include/elf/common.h index 767ad3ef13c..087d876f6bc 100644 --- a/include/elf/common.h +++ b/include/elf/common.h @@ -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? */