aboutsummaryrefslogtreecommitdiff
path: root/include/elf/common.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2016-02-09 12:52:02 +1030
committerAlan Modra <amodra@gmail.com>2016-02-09 13:11:16 +1030
commit24f5f69a8a1d09c317a5f28d324fca73a8a0b930 (patch)
treea8967bf43de051c977c130b3236a88ceb2ef47d4 /include/elf/common.h
parent4c5dc7fcf6118ca98b693cf1e1b3c6c211f76a28 (diff)
downloadgdb-24f5f69a8a1d09c317a5f28d324fca73a8a0b930.zip
gdb-24f5f69a8a1d09c317a5f28d324fca73a8a0b930.tar.gz
gdb-24f5f69a8a1d09c317a5f28d324fca73a8a0b930.tar.bz2
Fix macro redefinition error on Solaris
PR 16583 * elf/common.h (AT_SUN_HWCAP): Undef before defining.
Diffstat (limited to 'include/elf/common.h')
-rw-r--r--include/elf/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/elf/common.h b/include/elf/common.h
index 767ad3e..087d876 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? */