From 24f5f69a8a1d09c317a5f28d324fca73a8a0b930 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 9 Feb 2016 12:52:02 +1030 Subject: [PATCH] Fix macro redefinition error on Solaris PR 16583 * elf/common.h (AT_SUN_HWCAP): Undef before defining. --- include/ChangeLog | 5 +++++ include/elf/common.h | 1 + 2 files changed, 6 insertions(+) diff --git a/include/ChangeLog b/include/ChangeLog index b637fc996e..a87610db3e 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 767ad3ef13..087d876f6b 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? */ -- 2.34.1