diff options
author | Alan Modra <amodra@gmail.com> | 2016-02-09 12:52:02 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2016-02-09 13:11:16 +1030 |
commit | 24f5f69a8a1d09c317a5f28d324fca73a8a0b930 (patch) | |
tree | a8967bf43de051c977c130b3236a88ceb2ef47d4 /include | |
parent | 4c5dc7fcf6118ca98b693cf1e1b3c6c211f76a28 (diff) | |
download | gdb-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')
-rw-r--r-- | include/ChangeLog | 5 | ||||
-rw-r--r-- | include/elf/common.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index b637fc9..a87610d 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -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 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? */ |