]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Fix macro redefinition error on Solaris
authorAlan Modra <amodra@gmail.com>
Tue, 9 Feb 2016 02:22:02 +0000 (12:52 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 9 Feb 2016 02:41:16 +0000 (13:11 +1030)
PR 16583
* elf/common.h (AT_SUN_HWCAP): Undef before defining.

include/ChangeLog
include/elf/common.h

index b637fc996eaee6c9aa5dbdeaf1c17e1567f6a452..a87610db3eb30bb6f7d9e10912421d8086391e81 100644 (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
index 767ad3ef13c33ad41a1e25b7745dadd2f5e62175..087d876f6bc1bf5dd34102664ecdeefbbb9da6ac 100644 (file)
 #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? */